Author: spouliot
Date: 2008-01-17 17:00:31 -0500 (Thu, 17 Jan 2008)
New Revision: 93209

Modified:
   trunk/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog
   trunk/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs
Log:
2008-01-17  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * IsolatedStorageFile.cs: Fix bug #354539



Modified: trunk/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog  2008-01-17 
21:59:15 UTC (rev 93208)
+++ trunk/mcs/class/corlib/System.IO.IsolatedStorage/ChangeLog  2008-01-17 
22:00:31 UTC (rev 93209)
@@ -1,3 +1,7 @@
+2008-01-17  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * IsolatedStorageFile.cs: Fix bug #354539
+
 2007-12-18  Stephane Delcroix  <[EMAIL PROTECTED]>
 
        * IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.

Modified: 
trunk/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs
===================================================================
--- trunk/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs     
2008-01-17 21:59:15 UTC (rev 93208)
+++ trunk/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs     
2008-01-17 22:00:31 UTC (rev 93209)
@@ -147,7 +147,10 @@
                        if ((scope & IsolatedStorageScope.Assembly) != 0) {
                                Evidence e = Assembly.GetCallingAssembly 
().UnprotectedGetEvidence ();
                                storageFile._fullEvidences = e;
-                               storageFile._assemblyIdentity = 
GetTypeFromEvidence (e, assemblyEvidenceType);
+                               if ((scope & IsolatedStorageScope.Domain) != 0)
+                                       storageFile._assemblyIdentity = 
GetTypeFromEvidence (e, assemblyEvidenceType);
+                               else
+                                       storageFile._assemblyIdentity = 
GetAssemblyIdentityFromEvidence (e);
                        }
                        storageFile.PostInit ();
                        return storageFile;
@@ -596,4 +599,4 @@
                }
        }
 }
-#endif
\ No newline at end of file
+#endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to