summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorViktor Hofer <viktor.hofer@microsoft.com>2017-10-27 02:50:51 +0200
committerGitHub <noreply@github.com>2017-10-27 02:50:51 +0200
commitd320cea98c24f232d5258599f975bb7e6602d8d4 (patch)
tree5de2e8356a75c3865a99942f513000cd0b5c9433 /src
parent9089fe83de43726cc2783e400b8cea32cd20852e (diff)
downloadcoreclr-d320cea98c24f232d5258599f975bb7e6602d8d4.tar.gz
coreclr-d320cea98c24f232d5258599f975bb7e6602d8d4.tar.bz2
coreclr-d320cea98c24f232d5258599f975bb7e6602d8d4.zip
Make EventSourcException serializable in corert scenarios (#14716)
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.cs b/src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.cs
index 1b1d0718b5..be1bf3940a 100644
--- a/src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.cs
+++ b/src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.cs
@@ -19,7 +19,7 @@ namespace System.Diagnostics.Tracing
/// <summary>
/// Exception that is thrown when an error occurs during EventSource operation.
/// </summary>
-#if !ES_BUILD_PN && !ES_BUILD_PCL
+#if !ES_BUILD_PCL
[Serializable]
#endif
public class EventSourceException : Exception