diff --git a/Unit/Nothing.cs b/Unit/Nothing.cs index 37f1930..e73dbfd 100644 --- a/Unit/Nothing.cs +++ b/Unit/Nothing.cs @@ -1,13 +1,11 @@ namespace Unit { /// - /// This class should be used instead of void for return types. + /// This should be used instead of void for return types. /// - public class Nothing + public struct Nothing { - public static readonly Nothing Instance = new Nothing(); - - private Nothing() { } + public static readonly Nothing Value = new Nothing(); public override string ToString() { diff --git a/Unit/Unit.csproj b/Unit/Unit.csproj index b8543d5..bf05304 100644 --- a/Unit/Unit.csproj +++ b/Unit/Unit.csproj @@ -32,11 +32,6 @@ - - - - - @@ -50,4 +45,4 @@ --> - + \ No newline at end of file