Skip to content

Commit 91f9c63

Browse files
authored
Supress pubternal analyzer warnings for DataProtection (#6996)
1 parent f0fc598 commit 91f9c63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DataProtection/DataProtection/src/KeyManagement/XmlKeyManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ public sealed class XmlKeyManager : IKeyManager, IInternalXmlKeyManager
6262
/// </summary>
6363
/// <param name="keyManagementOptions">The <see cref="IOptions{KeyManagementOptions}"/> instance that provides the configuration.</param>
6464
/// <param name="activator">The <see cref="IActivator"/>.</param>
65+
#pragma warning disable PUB0001 // Pubternal type IActivator in public API
6566
public XmlKeyManager(IOptions<KeyManagementOptions> keyManagementOptions, IActivator activator)
67+
#pragma warning restore PUB0001 // Pubternal type IActivator in public API
6668
: this(keyManagementOptions, activator, NullLoggerFactory.Instance)
6769
{ }
6870

@@ -72,7 +74,9 @@ public XmlKeyManager(IOptions<KeyManagementOptions> keyManagementOptions, IActiv
7274
/// <param name="keyManagementOptions">The <see cref="IOptions{KeyManagementOptions}"/> instance that provides the configuration.</param>
7375
/// <param name="activator">The <see cref="IActivator"/>.</param>
7476
/// <param name="loggerFactory">The <see cref="ILoggerFactory"/>.</param>
77+
#pragma warning disable PUB0001 // Pubternal type IActivator in public API
7578
public XmlKeyManager(IOptions<KeyManagementOptions> keyManagementOptions, IActivator activator, ILoggerFactory loggerFactory)
79+
#pragma warning restore PUB0001 // Pubternal type IActivator in public API
7680
: this(keyManagementOptions, activator, loggerFactory, DefaultKeyStorageDirectories.Instance)
7781
{ }
7882

0 commit comments

Comments
 (0)