From 45e530dceda42282fae56b4c4f5fa7865f57899d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 4 Jun 2016 16:03:56 +0100 Subject: Remove dotnet (use submodule from dotnet repo instead) --- dotnet/Mammoth/Couscous/mammoth/internal/util/Casts.cs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 dotnet/Mammoth/Couscous/mammoth/internal/util/Casts.cs (limited to 'dotnet/Mammoth/Couscous/mammoth/internal/util/Casts.cs') diff --git a/dotnet/Mammoth/Couscous/mammoth/internal/util/Casts.cs b/dotnet/Mammoth/Couscous/mammoth/internal/util/Casts.cs deleted file mode 100644 index c342e20..0000000 --- a/dotnet/Mammoth/Couscous/mammoth/internal/util/Casts.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Mammoth.Couscous.java.util; - -namespace Mammoth.Couscous.org.zwobble.mammoth.@internal.util { - internal static class Casts { - internal static Optional tryCast(System.Type type, object value) { - if (value is T) { - return new Some((T) value); - } else { - return new None(); - } - } - } -} -- cgit v1.2.3