[Serializable]
[SecurityPermission (SecurityAction.InheritanceDemand, ControlEvidence = true, ControlPolicy = true)]
-#if NET_2_0
[ComVisible (true)]
-#endif
public abstract class IsolatedStoragePermission : CodeAccessPermission, IUnrestrictedPermission {
private const int version = 1;
internal bool m_permanentData;
internal IsolatedStorageContainment m_allowed;
-#if NET_2_0
protected IsolatedStoragePermission (PermissionState state)
-#else
- public IsolatedStoragePermission (PermissionState state)
-#endif
{
if (CheckPermissionState (state, true) == PermissionState.Unrestricted) {
UsageAllowed = IsolatedStorageContainment.UnrestrictedIsolatedStorage;
}
a = esd.Attribute ("UserQuota");
if (a != null) {
- Exception exc;
- Int64.Parse (a, true, out m_userQuota, out exc);
+ m_userQuota = Int64.Parse (a, CultureInfo.InvariantCulture);
}
}
}