Skip to content

Commit c01e778

Browse files
committed
add parse and tryparse for NewId
1 parent 5a455f0 commit c01e778

File tree

257 files changed

+0
-257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+0
-257
lines changed

src/StronglyTypedIds/Templates/NewId/NewId_Base.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ public static bool TryParse(string value, out TESTID result)
3636
result = default;
3737
return false;
3838
}
39-
4039
}

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=0_backingType=MassTransitNewId_implementations=0.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ namespace Some.Namespace
4949
result = default;
5050
return false;
5151
}
52-
5352
}
5453
}
5554
}

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=0_backingType=MassTransitNewId_implementations=2.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ namespace Some.Namespace
4949
result = default;
5050
return false;
5151
}
52-
5352
}
5453
}
5554
}

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=0_backingType=MassTransitNewId_implementations=4.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ namespace Some.Namespace
4949
result = default;
5050
return false;
5151
}
52-
5352
}
5453
public int CompareTo(MyTestId other) => Value.CompareTo(other.Value);
5554
}

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=0_backingType=MassTransitNewId_implementations=6.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ namespace Some.Namespace
4949
result = default;
5050
return false;
5151
}
52-
5352
}
5453
public int CompareTo(MyTestId other) => Value.CompareTo(other.Value);
5554
}

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=10_backingType=MassTransitNewId_implementations=0.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ namespace Some.Namespace
5151
result = default;
5252
return false;
5353
}
54-
5554
}
5655

5756
class MyTestIdTypeConverter : System.ComponentModel.TypeConverter

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=10_backingType=MassTransitNewId_implementations=2.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ namespace Some.Namespace
5151
result = default;
5252
return false;
5353
}
54-
5554
}
5655

5756
class MyTestIdTypeConverter : System.ComponentModel.TypeConverter

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=10_backingType=MassTransitNewId_implementations=4.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ namespace Some.Namespace
5151
result = default;
5252
return false;
5353
}
54-
5554
}
5655
public int CompareTo(MyTestId other) => Value.CompareTo(other.Value);
5756

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=10_backingType=MassTransitNewId_implementations=6.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ namespace Some.Namespace
5151
result = default;
5252
return false;
5353
}
54-
5554
}
5655
public int CompareTo(MyTestId other) => Value.CompareTo(other.Value);
5756

test/StronglyTypedIds.Tests/Snapshots/SourceGenerationHelperSnapshotTests.GeneratesIdCorrectly_ns=Some.Namespace_converter=12_backingType=MassTransitNewId_implementations=0.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ namespace Some.Namespace
5151
result = default;
5252
return false;
5353
}
54-
5554
}
5655

5756
class MyTestIdNewtonsoftJsonConverter : Newtonsoft.Json.JsonConverter

0 commit comments

Comments
 (0)