Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/IO/TemporaryDirectory.cs')
-rw-r--r--mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/IO/TemporaryDirectory.cs43
1 files changed, 0 insertions, 43 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/IO/TemporaryDirectory.cs b/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/IO/TemporaryDirectory.cs
deleted file mode 100644
index 7f373a292f5..00000000000
--- a/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/IO/TemporaryDirectory.cs
+++ /dev/null
@@ -1,43 +0,0 @@
-// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-
-#if !SILVERLIGHT
-
-using System;
-
-namespace System.IO
-{
- public class TemporaryDirectory : IDisposable
- {
- private string _directoryPath;
-
- public TemporaryDirectory()
- {
- _directoryPath = FileIO.GetNewTemporaryDirectory();
- }
-
- public string DirectoryPath
- {
- get { return _directoryPath; }
- }
-
- public void Dispose()
- {
- if (_directoryPath != null)
- {
- try
- {
- Directory.Delete(_directoryPath, true);
- }
- catch (IOException)
- {
- }
-
- _directoryPath = null;
- }
- }
- }
-}
-
-#endif \ No newline at end of file