You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by bo...@apache.org on 2011/09/19 11:14:50 UTC

svn commit: r1172530 - /logging/log4net/trunk/log4net.build

Author: bodewig
Date: Mon Sep 19 09:14:50 2011
New Revision: 1172530

URL: http://svn.apache.org/viewvc?rev=1172530&view=rev
Log:
warning 1058 has been addressed in code now

Modified:
    logging/log4net/trunk/log4net.build

Modified: logging/log4net/trunk/log4net.build
URL: http://svn.apache.org/viewvc/logging/log4net/trunk/log4net.build?rev=1172530&r1=1172529&r2=1172530&view=diff
==============================================================================
--- logging/log4net/trunk/log4net.build (original)
+++ logging/log4net/trunk/log4net.build Mon Sep 19 09:14:50 2011
@@ -620,10 +620,6 @@ limitations under the License.
         </if>
         <if test="${not temp.build.skip}">
             <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-                <nowarn>
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
-                </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
                 </sources>
@@ -644,10 +640,6 @@ limitations under the License.
             </csc>
         </if>
             <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-                <nowarn>
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
-                </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
                 </sources>
@@ -667,10 +659,6 @@ limitations under the License.
                 </references>
             </csc>
             <csc if="${current.build.config.debug}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-                <nowarn>
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
-                </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
                 </sources>
@@ -708,10 +696,6 @@ limitations under the License.
     </if>
     <if test="${not temp.build.skip}">
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -732,10 +716,6 @@ limitations under the License.
       </csc>
     </if>
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -755,10 +735,6 @@ limitations under the License.
         </references>
       </csc>
       <csc if="${current.build.config.debug}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -796,10 +772,6 @@ limitations under the License.
     </if>
     <if test="${not temp.build.skip}">
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -820,10 +792,6 @@ limitations under the License.
       </csc>      
     </if>
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -843,10 +811,6 @@ limitations under the License.
         </references>
       </csc>      
       <csc if="${current.build.config.debug}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -884,10 +848,6 @@ limitations under the License.
     </if>
     <if test="${not temp.build.skip}">
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -907,10 +867,6 @@ limitations under the License.
       </csc>      
     </if>
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -929,10 +885,6 @@ limitations under the License.
         </references>
       </csc>      
       <csc if="${current.build.config.debug}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -969,10 +921,6 @@ limitations under the License.
     </if>
     <if test="${not temp.build.skip}">
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -993,10 +941,6 @@ limitations under the License.
       </csc>      
     </if>
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -1016,10 +960,6 @@ limitations under the License.
         </references>
       </csc>      
       <csc if="${current.build.config.debug}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -1057,10 +997,6 @@ limitations under the License.
     </if>
     <if test="${not temp.build.skip}">
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -1080,10 +1016,6 @@ limitations under the License.
       </csc>      
     </if>
       <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'log4net.snk')}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -1102,10 +1034,6 @@ limitations under the License.
         </references>
       </csc>      
       <csc if="${current.build.config.debug}" nostdlib="true" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/log4net.dll" doc="${current.bin.dir}/log4net.xml">
-        <nowarn>
-          <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-          <warning number="1058" />
-        </nowarn>
         <sources basedir="${log4net.basedir}/src">
           <include name="**/*.cs" />
         </sources>
@@ -1145,12 +1073,6 @@ limitations under the License.
         </if>
         <if test="${not temp.build.skip}">
             <csc if="${current.build.config.release}" keyfile="${path::combine(log4net.basedir, 'old-log4net.snk')}" nostdlib="false" noconfig="true" warnaserror="true" target="library" debug="${current.build.debug}" define="${current.build.defines.csc}" output="${current.bin.dir}/../oldkey/log4net.dll" doc="${current.bin.dir}/../oldkey/log4net.xml">
-                <nowarn>
-                    <!-- workaround for Mono bug #61902 -->
-                    <warning number="0618" />
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
-                </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
                 </sources>
@@ -1172,8 +1094,6 @@ limitations under the License.
                 <nowarn>
                     <!-- workaround for Mono bug #61902 -->
                     <warning number="0618" />
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
                 </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
@@ -1195,8 +1115,6 @@ limitations under the License.
                 <nowarn>
                     <!-- workaround for Mono bug #61902 -->
                     <warning number="0618" />
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
                 </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
@@ -1239,8 +1157,6 @@ limitations under the License.
                 <nowarn>
                     <!-- workaround for Mono bug #61902 -->
                     <warning number="0618" />
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
                 </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
@@ -1263,8 +1179,6 @@ limitations under the License.
                 <nowarn>
                     <!-- workaround for Mono bug #61902 -->
                     <warning number="0618" />
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
                 </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />
@@ -1286,8 +1200,6 @@ limitations under the License.
                 <nowarn>
                     <!-- workaround for Mono bug #61902 -->
                     <warning number="0618" />
-                    <!-- warning CS1058: A previous catch clause already catches all exceptions. All non-exceptions thrown will be wrapped in a System.Runtime.CompilerServices.RuntimeWrappedException -->
-                    <warning number="1058" />
                 </nowarn>
                 <sources basedir="${log4net.basedir}/src">
                     <include name="**/*.cs" />