Removed int conversion operator
This commit is contained in:
@@ -16,8 +16,6 @@ namespace Diamond.Wrappers
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public int Id { get; private set; }
|
public int Id { get; private set; }
|
||||||
|
|
||||||
public static explicit operator int(Wrapper o) => o.Id;
|
|
||||||
|
|
||||||
// Force wrapper types to generate an Id at creation time
|
// Force wrapper types to generate an Id at creation time
|
||||||
protected Wrapper(int id)
|
protected Wrapper(int id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user