diff --git a/src/libraries/Common/src/System/Net/CredentialCacheKey.cs b/src/libraries/Common/src/System/Net/CredentialCacheKey.cs index b84ec32774c611..bde43d8b3489c0 100644 --- a/src/libraries/Common/src/System/Net/CredentialCacheKey.cs +++ b/src/libraries/Common/src/System/Net/CredentialCacheKey.cs @@ -6,6 +6,7 @@ using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; +using System.Runtime.CompilerServices; namespace System.Net { @@ -55,6 +56,7 @@ internal bool Match(Uri uri, int prefixLen, string authenticationType) // // Returns: // True if is a prefix of this URI + [MethodImpl(MethodImplOptions.NoInlining)] private bool IsPrefix(Uri uri, int prefixLen) { Debug.Assert(uri != null);