Skip to content

Commit f4e093d

Browse files
authored
Version up (#15)
* IComparable * VersionUp
1 parent 05f1ed7 commit f4e093d

11 files changed

+11
-11
lines changed

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesFullIdCorrectly_type=Guid.Core3_1.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
5353
{
54-
long res = 0;
54+
Guid res = Guid.Empty;
5555
var ok = Guid.TryParse(s, provider, out res);
5656
result = new MyTestId(res);
5757
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesFullIdCorrectly_type=Guid.DotNet6_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
5353
{
54-
long res = 0;
54+
Guid res = Guid.Empty;
5555
var ok = Guid.TryParse(s, provider, out res);
5656
result = new MyTestId(res);
5757
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesFullIdCorrectly_type=Guid.DotNet7_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
5353
{
54-
long res = 0;
54+
Guid res = Guid.Empty;
5555
var ok = Guid.TryParse(s, provider, out res);
5656
result = new MyTestId(res);
5757
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesFullIdCorrectly_type=Guid.Net4_8.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
5353
{
54-
long res = 0;
54+
Guid res = Guid.Empty;
5555
var ok = Guid.TryParse(s, provider, out res);
5656
result = new MyTestId(res);
5757
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesFullIdCorrectly_type=Guid.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
5353
{
54-
long res = 0;
54+
Guid res = Guid.Empty;
5555
var ok = Guid.TryParse(s, provider, out res);
5656
result = new MyTestId(res);
5757
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_type=Guid_c=None_i=IParsable.Core3_1.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
4444
{
45-
long res = 0;
45+
Guid res = Guid.Empty;
4646
var ok = Guid.TryParse(s, provider, out res);
4747
result = new MyTestId(res);
4848
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_type=Guid_c=None_i=IParsable.DotNet6_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
4444
{
45-
long res = 0;
45+
Guid res = Guid.Empty;
4646
var ok = Guid.TryParse(s, provider, out res);
4747
result = new MyTestId(res);
4848
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_type=Guid_c=None_i=IParsable.DotNet7_0.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
4444
{
45-
long res = 0;
45+
Guid res = Guid.Empty;
4646
var ok = Guid.TryParse(s, provider, out res);
4747
result = new MyTestId(res);
4848
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_type=Guid_c=None_i=IParsable.Net4_8.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
4444
{
45-
long res = 0;
45+
Guid res = Guid.Empty;
4646
var ok = Guid.TryParse(s, provider, out res);
4747
result = new MyTestId(res);
4848
return ok;

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_type=Guid_c=None_i=IParsable.verified.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
public static bool TryParse(string? s, System.IFormatProvider? provider, out MyTestId result)
4444
{
45-
long res = 0;
45+
Guid res = Guid.Empty;
4646
var ok = Guid.TryParse(s, provider, out res);
4747
result = new MyTestId(res);
4848
return ok;

0 commit comments

Comments
 (0)