LOG4NET-536 NETCF cannot compile LogicalThreadContextStacks
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/9f69a10f Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/9f69a10f Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/9f69a10f Branch: refs/heads/master Commit: 9f69a10f39c7640d3f98c79311f6aef8fd89b43e Parents: 76f0151 Author: Stefan Bodewig <bode...@apache.org> Authored: Tue Nov 29 19:43:25 2016 +0000 Committer: Stefan Bodewig <bode...@apache.org> Committed: Tue Nov 29 19:43:25 2016 +0000 ---------------------------------------------------------------------- src/Util/LogicalThreadContextStack.cs | 2 ++ src/Util/LogicalThreadContextStacks.cs | 2 ++ 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9f69a10f/src/Util/LogicalThreadContextStack.cs ---------------------------------------------------------------------- diff --git a/src/Util/LogicalThreadContextStack.cs b/src/Util/LogicalThreadContextStack.cs index 779d5a1..d251f75 100644 --- a/src/Util/LogicalThreadContextStack.cs +++ b/src/Util/LogicalThreadContextStack.cs @@ -17,6 +17,7 @@ // #endregion +#if !NETCF using System; using System.Collections; @@ -425,3 +426,4 @@ namespace log4net.Util } } +#endif \ No newline at end of file http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9f69a10f/src/Util/LogicalThreadContextStacks.cs ---------------------------------------------------------------------- diff --git a/src/Util/LogicalThreadContextStacks.cs b/src/Util/LogicalThreadContextStacks.cs index bafae16..3554cf3 100644 --- a/src/Util/LogicalThreadContextStacks.cs +++ b/src/Util/LogicalThreadContextStacks.cs @@ -17,6 +17,7 @@ // #endregion +#if !NETCF using System; using System.Collections; @@ -139,3 +140,4 @@ namespace log4net.Util } } +#endif