Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if NET && !NET8_0_OR_GREATER

namespace System.Net
{
[Serializable]
Expand All @@ -21,3 +23,5 @@ public InternalException(string message, Exception innerException) : base(messag
}
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if NET && !NET8_0_OR_GREATER

#if DEBUG
// Uncomment to enable runtime checks to help validate that NetEventSource isn't being misused
// in a way that will cause performance problems, e.g. unexpected boxing of value types.
Expand Down Expand Up @@ -771,3 +773,5 @@ private unsafe void WriteEvent(int eventId, string arg1, string arg2, string arg
#endregion
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#if NET
#if NET && !NET8_0_OR_GREATER

using System;
using System.Runtime.InteropServices;
Expand Down
Loading