64 for (
int j = 0;
j < i;
j++)
180 if (replacement == current)
184 if (replacement ==
null)
186 return current.Count == 0;
193 if (replacement == current)
197 if (replacement ==
null)
199 return current.Count == 0;
212 if (replacement.Count !=
count)
219 foreach (T
item in replacement)
221 if (
item != current[num])
static Exception Unreachable
static void RequiresNotNull(object value, string paramName)
static void ValidateArgumentCount(MethodBase method, ExpressionType nodeKind, int count, ParameterInfo[] pis)
static void RequiresCanRead(Expression expression, string paramName)
static ReadOnlyCollection< ParameterExpression > ReturnReadOnly(IParameterProvider provider, ref object collection)
static bool TryQuote(Type parameterType, ref Expression argument)
static void ValidateArgumentCount(this LambdaExpression lambda)
static void RequiresCanRead(Expression expression, string paramName, int idx)
static ReadOnlyCollection< T > ReturnReadOnly< T >(ref IReadOnlyList< T > collection)
static ParameterInfo[] GetParametersForValidation(MethodBase method, ExpressionType nodeKind)
static T ReturnObject< T >(object collectionOrT)
static void ValidateArgumentTypes(MethodBase method, ExpressionType nodeKind, ref ReadOnlyCollection< Expression > arguments, string methodParamName)
static Expression ValidateOneArgument(MethodBase method, ExpressionType nodeKind, Expression arguments, ParameterInfo pi, string methodParamName, string argumentParamName, int index=-1)
static ReadOnlyCollection< Expression > ReturnReadOnly(IArgumentProvider provider, ref object collection)
static bool IsSameOrSubclass(Type type, Type subType)
static void ValidateType(Type type, string paramName)
static bool AreReferenceAssignable(Type dest, Type src)
static Exception IncorrectNumberOfLambdaArguments()
static Exception IncorrectNumberOfConstructorArguments()
static Exception ExpressionTypeDoesNotMatchParameter(object p0, object p1, string paramName)
static Exception ExpressionTypeDoesNotMatchMethodParameter(object p0, object p1, object p2, string paramName)
static Exception IncorrectNumberOfMethodCallArguments(object p0, string paramName)
static Exception ExpressionTypeDoesNotMatchConstructorParameter(object p0, object p1, string paramName)
static Exception InvalidProgram()
static Exception ExpressionMustBeReadable(string paramName)
static UnaryExpression Quote(Expression expression)
static int CompareExchange(ref int location1, int value, int comparand)