From 0a9eaa12a773636ec092c5f5248e2fcef4d412e0 Mon Sep 17 00:00:00 2001 From: Miha Zupan Date: Thu, 19 Feb 2026 20:21:45 +0100 Subject: [PATCH] Test inlining changes for CredentialCache perf --- src/libraries/Common/src/System/Net/CredentialCacheKey.cs | 2 ++ 1 file changed, 2 insertions(+) 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);