Fix the build
authorMarek Habersack <grendel@twistedcode.net>
Wed, 30 Jun 2010 07:14:36 +0000 (07:14 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 30 Jun 2010 07:14:36 +0000 (07:14 -0000)
svn path=/trunk/mcs/; revision=159715

mcs/class/System.Runtime.DurableInstancing/System.Runtime.DurableInstancing/InstancePersistenceContext.cs

index cd5d1cad0243601a8c2d7d718feeb2baf81b74e4..797cc7826512289e5fdefbf5f97cdc254b3308bd 100644 (file)
@@ -16,9 +16,9 @@ namespace System.Runtime.DurableInstancing
                internal InstancePersistenceContext (InstanceHandle handle, InstanceView view)
                {
                        if (handle == null)
-                               throw new ArgumentNullExcepion ("handle");
+                               throw new ArgumentNullException ("handle");
                        if (view == null)
-                               throw new ArgumentNullExcepion ("view");
+                               throw new ArgumentNullException ("view");
 
                        InstanceHandle = handle;
                        InstanceView = view;