2 writes to TypeArgs
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (2)
215
TypeArgs
= null;
227
TypeArgs
= typeArgs;
25 references to TypeArgs
Microsoft.CSharp (25)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (1)
126
this.mpwiMemo.typeArgs = mpwi.
TypeArgs
;
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
875
typeArgs = call.MethWithInst.
TypeArgs
;
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (3)
60
if (mpwi1.
TypeArgs
.Count != 0)
62
if (mpwi2.
TypeArgs
.Count == 0)
67
else if (mpwi2.
TypeArgs
.Count != 0)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
417
pReturnType = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.
TypeArgs
);
1092
TypeArray pTypeArgs = (call as ExprCall)?.MethWithInst.
TypeArgs
;
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
33
0, name, method.
TypeArgs
, method.MethProp()?.getKind() ?? SYMKIND.SK_MethodSymbol, method.GetType(),
62
CreateMethodInfo(mwi.Meth(), mwi.GetType(), mwi.
TypeArgs
);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (4)
333
pAmbig1.mpwi.
TypeArgs
!= pAmbig2.mpwi.
TypeArgs
||
1085
if (_results.BestResult.
TypeArgs
.Count > 0)
1173
_results.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.
TypeArgs
);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinderResult.cs (1)
79
return IsBetterThanCurrent(UninferableResult.
TypeArgs
, pTypeArguments);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MethodInfo.cs (3)
76
int size = Method.
TypeArgs
?.Count ?? 0;
80
for (int i = 0; i < Method.
TypeArgs
.Count; i++)
82
typeArgs[i] = Method.
TypeArgs
[i].AssociatedSystemType;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
104
CType typeRet = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.
TypeArgs
);
721
method.GetType(), method.
TypeArgs
);
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (5)
127
Debug.Assert(mwi.Meth() != null && mwi.GetType() != null && mwi.
TypeArgs
!= null);
128
Debug.Assert(mwi.Meth().typeVars.Count == mwi.
TypeArgs
.Count);
131
if (mwi.
TypeArgs
.Count > 0)
133
CheckConstraintsCore(mwi.Meth(), mwi.Meth().typeVars, mwi.
TypeArgs
, mwi.GetType().TypeArgsAll, mwi.
TypeArgs
, CheckConstraintsFlags.None);
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (1)
243
Set(mpwi.Sym as MethodSymbol, mpwi.Ats, mpwi.
TypeArgs
);