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:
authorAndreas N <andreas@mono-cvs.ximian.com>2003-07-27 13:59:44 +0400
committerAndreas N <andreas@mono-cvs.ximian.com>2003-07-27 13:59:44 +0400
commit9f70ec79686962ea7f891bbdc04a542a0c55d638 (patch)
treef67d5366c99a7d932f999d4db12d6ae8dfa85a3f /mcs/class/System/System.Diagnostics
parentaac97afa581393a9794050a1e734c8cb3b0b0c4a (diff)
2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SRDescriptionAttribute.cs: Moved to System directory svn path=/trunk/mcs/; revision=16735
Diffstat (limited to 'mcs/class/System/System.Diagnostics')
-rw-r--r--mcs/class/System/System.Diagnostics/ChangeLog4
-rw-r--r--mcs/class/System/System.Diagnostics/SRDescriptionAttribute.cs35
2 files changed, 4 insertions, 35 deletions
diff --git a/mcs/class/System/System.Diagnostics/ChangeLog b/mcs/class/System/System.Diagnostics/ChangeLog
index 19f13abd954..5b58888db0b 100644
--- a/mcs/class/System/System.Diagnostics/ChangeLog
+++ b/mcs/class/System/System.Diagnostics/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+ * SRDescriptionAttribute.cs: Moved to System directory
+
2003-07-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* EventLog.cs: Implementation handling
diff --git a/mcs/class/System/System.Diagnostics/SRDescriptionAttribute.cs b/mcs/class/System/System.Diagnostics/SRDescriptionAttribute.cs
deleted file mode 100644
index 1a13053dca6..00000000000
--- a/mcs/class/System/System.Diagnostics/SRDescriptionAttribute.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// System.Diagnostics.SRDescriptionAttribute.cs
-//
-// Authors:
-// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
-//
-// (C) 2003 Andreas Nahr
-//
-
-using System;
-using System.ComponentModel;
-
-namespace System.Diagnostics
-{
- [AttributeUsage(AttributeTargets.All)]
- internal class SRDescriptionAttribute : DescriptionAttribute
- {
- private bool isReplaced = false;
-
- public SRDescriptionAttribute (string description)
- : base (description)
- {
- }
-
- public override string Description {
- get {
- if (!isReplaced) {
- isReplaced = true;
- DescriptionValue = Locale.GetText (DescriptionValue);
- }
- return DescriptionValue;
- }
- }
- }
-}