From 6d45f817f9b3c6978bf76869829b76e2cc17c932 Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Thu, 7 Aug 2014 15:58:26 -0700 Subject: [PATCH] Make new overloads virtual. --- src/Microsoft.AspNet.Http/HttpResponse.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.AspNet.Http/HttpResponse.cs b/src/Microsoft.AspNet.Http/HttpResponse.cs index 33fbd0a954..010d159ab8 100644 --- a/src/Microsoft.AspNet.Http/HttpResponse.cs +++ b/src/Microsoft.AspNet.Http/HttpResponse.cs @@ -53,7 +53,7 @@ namespace Microsoft.AspNet.Http Challenge(properties, new[] { authenticationType }); } - public void Challenge(params string[] authenticationTypes) + public virtual void Challenge(params string[] authenticationTypes) { Challenge((IEnumerable)authenticationTypes); } @@ -63,7 +63,7 @@ namespace Microsoft.AspNet.Http Challenge(properties: null, authenticationTypes: authenticationTypes); } - public void Challenge(AuthenticationProperties properties, params string[] authenticationTypes) + public virtual void Challenge(AuthenticationProperties properties, params string[] authenticationTypes) { Challenge(properties, (IEnumerable)authenticationTypes); } @@ -90,7 +90,7 @@ namespace Microsoft.AspNet.Http SignIn(properties: null, identities: identities); } - public void SignIn(AuthenticationProperties properties, params ClaimsIdentity[] identities) + public virtual void SignIn(AuthenticationProperties properties, params ClaimsIdentity[] identities) { SignIn(properties, (IEnumerable)identities); }