Skip to content

Commit 3bd0c73

Browse files
Sync shared code from runtime (#33066)
1 parent 028470e commit 3bd0c73

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Shared/runtime/NetEventSource.Common.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
using System.Globalization;
1515
using System.Runtime.CompilerServices;
1616
using System.Runtime.InteropServices;
17-
#if NET46
18-
using System.Security;
19-
#endif
2017

2118
#pragma warning disable CA1823 // not all IDs are used by all partial providers
2219

@@ -40,9 +37,6 @@ namespace System.Net
4037
// method that takes an object and optionally provides a string representation of it, in case a particular library wants to customize further.
4138

4239
/// <summary>Provides logging facilities for System.Net libraries.</summary>
43-
#if NET46
44-
[SecuritySafeCritical]
45-
#endif
4640
internal sealed partial class NetEventSource : EventSource
4741
{
4842
/// <summary>The single event source instance to use for all logging.</summary>

0 commit comments

Comments
 (0)