فهرست منبع

Mark a few methods as static.

Bart De Smet 7 سال پیش
والد
کامیت
1e2096aadd
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Ix.NET/Source/System.Linq.Async.Queryable/System/Linq/AsyncEnumerableRewriter.cs

+ 2 - 2
Ix.NET/Source/System.Linq.Async.Queryable/System/Linq/AsyncEnumerableRewriter.cs

@@ -250,7 +250,7 @@ namespace System.Linq
             return true;
         }
 
-        private ReadOnlyCollection<Expression> FixupQuotedArgs(MethodInfo method, ReadOnlyCollection<Expression> argList)
+        private static ReadOnlyCollection<Expression> FixupQuotedArgs(MethodInfo method, ReadOnlyCollection<Expression> argList)
         {
             //
             // Get all of the method parameters. No fix-up needed if empty.
@@ -303,7 +303,7 @@ namespace System.Linq
             return argList;
         }
 
-        private Expression FixupQuotedExpression(Type type, Expression expression)
+        private static Expression FixupQuotedExpression(Type type, Expression expression)
         {
             var res = expression;