Remove unused code (#23691)

Remove an unused private method and an unused local variable.
This commit is contained in:
Martin Costello 2020-07-06 16:51:25 +01:00 committed by GitHub
parent 80de1e7588
commit afbf3fdf6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -859,15 +859,6 @@ namespace Microsoft.AspNetCore.JsonPatch
return null;
}
private static bool ContinueWithSubPath(ExpressionType expressionType)
{
return (expressionType == ExpressionType.ArrayIndex
|| expressionType == ExpressionType.Call
|| expressionType == ExpressionType.Convert
|| expressionType == ExpressionType.MemberAccess);
}
// Evaluates the value of the key or index which may be an int or a string,
// or some other expression type.
// The expression is converted to a delegate and the result of executing the delegate is returned as a string.

View File

@ -34,7 +34,6 @@ namespace Microsoft.AspNetCore.Hosting.StaticWebAssets
internal static void UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
{
var staticWebAssetsFileProvider = new List<IFileProvider>();
var webRootFileProvider = environment.WebRootFileProvider;
var additionalFiles = StaticWebAssetsReader.Parse(manifest)