You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/04/27 06:36:33 UTC

[29/50] [abbrv] logging-log4net git commit: EventRaisingAppender requires .NET 3.5

EventRaisingAppender requires .NET 3.5


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/9397bcae
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/9397bcae
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/9397bcae

Branch: refs/heads/master
Commit: 9397bcaecc6981b96d19c29f7a872ffd60a880df
Parents: 7919e65
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Mar 7 19:03:00 2017 +0000
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Mar 7 19:03:00 2017 +0000

----------------------------------------------------------------------
 tests/src/Appender/EventRaisingAppender.cs | 25 ++++++++++++++++++++++++-
 tests/src/Appender/RecursiveLoggingTest.cs |  2 ++
 2 files changed, 26 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9397bcae/tests/src/Appender/EventRaisingAppender.cs
----------------------------------------------------------------------
diff --git a/tests/src/Appender/EventRaisingAppender.cs b/tests/src/Appender/EventRaisingAppender.cs
index 517b6bd..6716889 100644
--- a/tests/src/Appender/EventRaisingAppender.cs
+++ b/tests/src/Appender/EventRaisingAppender.cs
@@ -1,4 +1,26 @@
-\ufeffusing System;
+\ufeff/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+*/
+
+#if !NET_2_0 && !MONO_2_0
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
@@ -56,3 +78,4 @@ namespace log4net.Tests.Appender
         }
     }
 }
+#endif
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9397bcae/tests/src/Appender/RecursiveLoggingTest.cs
----------------------------------------------------------------------
diff --git a/tests/src/Appender/RecursiveLoggingTest.cs b/tests/src/Appender/RecursiveLoggingTest.cs
index 4b9aeb2..191ddf6 100644
--- a/tests/src/Appender/RecursiveLoggingTest.cs
+++ b/tests/src/Appender/RecursiveLoggingTest.cs
@@ -19,6 +19,7 @@
  *
 */
 
+#if !NET_2_0 && !MONO_2_0
 using System;
 using System.Data;
 using System.Xml;
@@ -82,3 +83,4 @@ namespace log4net.Tests.Appender
 
     }
 }
+#endif
\ No newline at end of file