49 references to GetParametersCached
System.Linq.Expressions (49)
System\Dynamic\Utils\DelegateHelpers.cs (1)
210
ParameterInfo[] parameters = delegateInvokeMethod.
GetParametersCached
();
System\Dynamic\Utils\ExpressionUtils.cs (1)
237
ParameterInfo[] pis = method.
GetParametersCached
();
System\Dynamic\Utils\TypeExtensions.cs (1)
47
ParameterInfo[] ps = mi.
GetParametersCached
();
System\Dynamic\Utils\TypeUtils.cs (1)
727
ParameterInfo[] pis = mi.
GetParametersCached
();
System\Linq\Expressions\BinaryExpression.cs (8)
294
!TypeUtils.AreEquivalent(method.
GetParametersCached
()[0].ParameterType.GetNonRefType(), Left.Type);
635
ParameterInfo[] pms = method.
GetParametersCached
();
687
ParameterInfo[] pis = b.Method!.
GetParametersCached
();
802
ParameterInfo[] pms = method.
GetParametersCached
();
845
ParameterInfo[] pmsOpTrue = opTrue.
GetParametersCached
();
1399
ParameterInfo[] pms = method.
GetParametersCached
();
1551
ParameterInfo[] pms = mi.
GetParametersCached
();
2768
ParameterInfo[] pis = b.Method!.
GetParametersCached
();
System\Linq\Expressions\Compiler\LambdaCompiler.Expressions.cs (2)
441
foreach (ParameterInfo pi in mi.
GetParametersCached
())
515
ParameterInfo[] pis = method.
GetParametersCached
();
System\Linq\Expressions\Compiler\LambdaCompiler.Statements.cs (1)
248
Type result = node.Comparison.
GetParametersCached
()[1].ParameterType.GetNonRefType();
System\Linq\Expressions\Compiler\LambdaCompiler.Unary.cs (1)
308
ParameterInfo[] pis = node.Method.
GetParametersCached
();
System\Linq\Expressions\Compiler\StackSpiller.ChildRewriter.cs (1)
333
var parameters = method.
GetParametersCached
();
System\Linq\Expressions\Compiler\StackSpiller.cs (1)
1072
if (method != null && method.
GetParametersCached
().Any(p => p.ParameterType.IsByRef))
System\Linq\Expressions\DynamicExpression.cs (5)
898
var parameters = method.
GetParametersCached
();
928
var parameters = method.
GetParametersCached
();
961
var parameters = method.
GetParametersCached
();
997
var parameters = method.
GetParametersCached
();
1015
var pi = method.
GetParametersCached
();
System\Linq\Expressions\ElementInit.cs (1)
105
ParameterInfo[] pis = addMethod.
GetParametersCached
();
System\Linq\Expressions\IndexExpression.cs (4)
302
parms = mi.
GetParametersCached
();
313
parms = mi.
GetParametersCached
();
400
getParameters = getter.
GetParametersCached
();
407
ParameterInfo[] setParameters = setter.
GetParametersCached
();
System\Linq\Expressions\Interpreter\CallInstruction.cs (1)
30
return Create(info, info.
GetParametersCached
());
System\Linq\Expressions\Interpreter\InstructionList.cs (1)
892
EmitCall(method, method.
GetParametersCached
());
System\Linq\Expressions\Interpreter\LightCompiler.cs (3)
1042
ParameterInfo[] parameters = method.
GetParametersCached
();
2141
ParameterInfo[] parameters = method.
GetParametersCached
();
2392
ParameterInfo[] parameters = node.Constructor.
GetParametersCached
();
System\Linq\Expressions\LambdaExpression.cs (1)
936
ParameterInfo[] pis = mi.
GetParametersCached
();
System\Linq\Expressions\MemberExpression.cs (2)
264
else if (mi.
GetParametersCached
().Length != 1)
269
else if (mi.
GetParametersCached
().Length != 0)
System\Linq\Expressions\MethodCallExpression.cs (1)
1349
ParameterInfo[] parms = m.
GetParametersCached
();
System\Linq\Expressions\NewExpression.cs (2)
207
ConstructorInfo? ci = type.GetConstructors(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).SingleOrDefault(c => c.
GetParametersCached
().Length == 0);
223
if ((pis = constructor.
GetParametersCached
()).Length > 0)
System\Linq\Expressions\SwitchExpression.cs (2)
75
!TypeUtils.AreEquivalent(SwitchValue.Type, Comparison.
GetParametersCached
()[0].ParameterType.GetNonRefType());
200
ParameterInfo[] pms = comparison.
GetParametersCached
();
System\Linq\Expressions\UnaryExpression.cs (4)
66
return (operandIsNullable && !TypeUtils.AreEquivalent(Method.
GetParametersCached
()[0].ParameterType, Operand.Type)) ||
349
ValidateParamsWithOperandsOrThrow(u.Method!.
GetParametersCached
()[0].ParameterType, operand.Type, unaryType, name);
384
ParameterInfo[] pms = method.
GetParametersCached
();
430
ParameterInfo[] pms = method.
GetParametersCached
();
System\Runtime\CompilerServices\CallSite.cs (3)
336
ParameterInfo[] pis = invoke.
GetParametersCached
();
368
ParameterExpression[] @params = Array.ConvertAll(invoke.
GetParametersCached
(), p => Expression.Parameter(p.ParameterType, p.Name));
671
ParameterExpression[] @params = Array.ConvertAll(invoke.
GetParametersCached
(), p => Expression.Parameter(p.ParameterType, p.Name));
System\Runtime\CompilerServices\CallSiteBinder.cs (1)
59
ParameterInfo[] pis = invoke.
GetParametersCached
();