dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Diagnostics/De...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Diagnostics/De...
Date: Wed, 21 Mar 2007 20:08:19 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Changes by:     Klaus Treichel <ktreichel>      07/03/21 20:08:19

Modified files:
        .              : ChangeLog 
Added files:
        runtime/System/Diagnostics: DebuggerNonUserCodeAttribute.cs 
        runtime/System/Diagnostics/CodeAnalysis: 
                                                 SuppressMessageAttribute.cs 
        System/CodeDom/Compiler: GeneratedCodeAttribute.cs 

Log message:
        Add some 2.0 attributes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2487&r2=1.2488
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Diagnostics/DebuggerNonUserCodeAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/System/CodeDom/Compiler/GeneratedCodeAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2487
retrieving revision 1.2488
diff -u -b -r1.2487 -r1.2488
--- ChangeLog   21 Mar 2007 08:54:16 -0000      1.2487
+++ ChangeLog   21 Mar 2007 20:08:19 -0000      1.2488
@@ -1,3 +1,10 @@
+2007-03-21  Klaus Treichel  <address@hidden>
+
+       * runtime/System/Diagnostics/DebuggerNonUserCodeAttribute.cs,
+       runtime/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs,
+       System/CodeDom/Compiler/GeneratedCodeAttribute.cs, Add some .Net 2.0
+       attributes.
+
 2007-03-21  Radek Polak  <address@hidden>
 
        * runtime/System/Private/DebuggerHelper.cs: Fix displaying errors and

Index: runtime/System/Diagnostics/DebuggerNonUserCodeAttribute.cs
===================================================================
RCS file: runtime/System/Diagnostics/DebuggerNonUserCodeAttribute.cs
diff -N runtime/System/Diagnostics/DebuggerNonUserCodeAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Diagnostics/DebuggerNonUserCodeAttribute.cs  21 Mar 2007 
20:08:19 -0000      1.1
@@ -0,0 +1,46 @@
+/*
+ * DebuggerNonUserCodeAttribute.cs - Implementation of the
+ *                     "System.Diagnostics.DebuggerNonUserCodeAttribute" class.
+ *
+ * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Diagnostics
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !ECMA_COMPAT
+
+using System.Runtime.InteropServices;
+
+[Serializable]
+[AttributeUsage(AttributeTargets.Class |
+                               AttributeTargets.Struct |
+                               AttributeTargets.Constructor |
+                               AttributeTargets.Method |
+                               AttributeTargets.Property,
+                               Inherited=false)]
+[ComVisible(true)]
+public sealed class DebuggerNonUserCodeAttribute : Attribute
+{
+       // Constructors.
+       public DebuggerNonUserCodeAttribute() : base() {}
+
+}; // class DebuggerNonUserCodeAttribute
+
+#endif // CONFIG_FRAMEWORK_2_0 && !ECMA_COMPAT
+
+}; // namespace System.Diagnostics

Index: runtime/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
===================================================================
RCS file: runtime/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
diff -N runtime/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs 21 Mar 
2007 20:08:19 -0000      1.1
@@ -0,0 +1,117 @@
+/*
+ * SuppressMessageAttribute.cs - Implementation of the
+ *                     
"System.Diagnostics.CodeAnalysis.SuppressMessageAttribute" class.
+ *
+ * Copyright (C) 2001  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Diagnostics.CodeAnalysis
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !ECMA_COMPAT
+
+[AttributeUsage(AttributeTargets.All, Inherited=false, AllowMultiple=true)]
+[Conditional("CODE_ANALYSIS")]
+public sealed class SuppressMessageAttribute : Attribute
+{
+       // Internal state
+       private String category;
+       private String checkId;
+       private String justification;
+       private String messageId;
+       private String scope;
+       private String target;
+
+       // Constructors.
+       public SuppressMessageAttribute(String category, String checkId) : 
base()
+       {
+               this.category = category;
+               this.checkId = checkId;
+               this.justification = null;
+               this.messageId = null;
+               this.scope = null;
+               this.target = null;
+       }
+
+       public String Category
+       {
+               get
+               {
+                       return category;
+               }
+       }
+
+       public String CheckId
+       {
+               get
+               {
+                       return checkId;
+               }
+       }
+
+       public String Justification
+       {
+               get
+               {
+                       return justification;
+               }
+               set
+               {
+                       justification = value;
+               }
+       }
+
+       public String MessageId
+       {
+               get
+               {
+                       return messageId;
+               }
+               set
+               {
+                       messageId = value;
+               }
+       }
+
+       public String Scope
+       {
+               get
+               {
+                       return scope;
+               }
+               set
+               {
+                       scope = value;
+               }
+       }
+
+       public String Target
+       {
+               get
+               {
+                       return target;
+               }
+               set
+               {
+                       target = value;
+               }
+       }
+}; // class SuppressMessageAttribute
+
+#endif // CONFIG_FRAMEWORK_2_0 && !ECMA_COMPAT
+
+}; // namespace System.Diagnostics.CodeAnalysis

Index: System/CodeDom/Compiler/GeneratedCodeAttribute.cs
===================================================================
RCS file: System/CodeDom/Compiler/GeneratedCodeAttribute.cs
diff -N System/CodeDom/Compiler/GeneratedCodeAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ System/CodeDom/Compiler/GeneratedCodeAttribute.cs   21 Mar 2007 20:08:19 
-0000      1.1
@@ -0,0 +1,64 @@
+/*
+ * GeneratedCodeAttribute.cs - Implementation of the
+ *                     "System.CodeDom.Compiler.GeneratedCodeAttribute" class.
+ *
+ * Copyright (C) 2002  Southern Storm Software, Pty Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.CodeDom.Compiler
+{
+
+#if CONFIG_FRAMEWORK_2_0 && !ECMA_COMPAT
+
+[AttributeUsage(AttributeTargets.All,
+                           Inherited=false,
+                               AllowMultiple=false)]
+public sealed class GeneratedCodeAttribute : Attribute
+{
+
+       // Internal state.
+       private String tool;
+       private String version;
+
+       // Constructors.
+       public GeneratedCodeAttribute(String tool, String version)
+                       {
+                               this.tool = tool;
+                               this.version = version;
+                       }
+
+       // Get the attribute's value.
+       public String Tool
+                       {
+                               get
+                               {
+                                       return tool;
+                               }
+                       }
+
+       public String Version
+                       {
+                               get
+                               {
+                                       return version;
+                               }
+                       }
+}; // class GeneratedCodeAttribute
+
+#endif // CONFIG_FRAMEWORK_2_0 && !ECMA_COMPAT
+
+}; // namespace System.CodeDom.Compiler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]