Skip to content

Commit

Permalink
Added Arborist.Utils.Dummy{Class,Struct}
Browse files Browse the repository at this point in the history
  • Loading branch information
jcracknell committed Nov 1, 2024
1 parent 4bacad2 commit 861a3ca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Arborist/src/Utils/DummyClass.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Arborist.Utils;

/// <summary>
/// Meaningless reference type used to disambiguate methods overloaded by type constraints.
/// </summary>
public sealed class DummyClass {
private DummyClass() { }
}
6 changes: 6 additions & 0 deletions src/Arborist/src/Utils/DummyStruct.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Arborist.Utils;

/// <summary>
/// Meaningless value type used to disambiguate methods overloaded by type constraints.
/// </summary>
public readonly struct DummyStruct { }

0 comments on commit 861a3ca

Please sign in to comment.