internal static bool IsRoaming(IsolatedStorageScope scope) => ((scope & IsolatedStorageScope.Roaming) != 0); internal static bool IsDomain(IsolatedStorageScope scope) => ((scope & IsolatedStorageScope.Domain) != 0);
public void Close() { if (Helper.IsRoaming(Scope)) { return; } lock (_internalLock) { if (!_closed) { _closed = true; GC.SuppressFinalize(this); } } }