Skip to content

Commit afbf3fd

Browse files
Remove unused code (#23691)
Remove an unused private method and an unused local variable.
1 parent 80de1e7 commit afbf3fd

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/Features/JsonPatch/src/JsonPatchDocumentOfT.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -859,15 +859,6 @@ private string GetPropertyNameFromMemberExpression(MemberExpression memberExpres
859859
return null;
860860
}
861861

862-
private static bool ContinueWithSubPath(ExpressionType expressionType)
863-
{
864-
return (expressionType == ExpressionType.ArrayIndex
865-
|| expressionType == ExpressionType.Call
866-
|| expressionType == ExpressionType.Convert
867-
|| expressionType == ExpressionType.MemberAccess);
868-
869-
}
870-
871862
// Evaluates the value of the key or index which may be an int or a string,
872863
// or some other expression type.
873864
// The expression is converted to a delegate and the result of executing the delegate is returned as a string.

src/Hosting/Hosting/src/StaticWebAssets/StaticWebAssetsLoader.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public static void UseStaticWebAssets(IWebHostEnvironment environment, IConfigur
3434

3535
internal static void UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
3636
{
37-
var staticWebAssetsFileProvider = new List<IFileProvider>();
3837
var webRootFileProvider = environment.WebRootFileProvider;
3938

4039
var additionalFiles = StaticWebAssetsReader.Parse(manifest)

0 commit comments

Comments
 (0)