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)
852
typeArgs = call.MethWithInst.
TypeArgs
;
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (3)
59
if (mpwi1.
TypeArgs
.Count != 0)
61
if (mpwi2.
TypeArgs
.Count == 0)
66
else if (mpwi2.
TypeArgs
.Count != 0)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
408
pReturnType = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.
TypeArgs
);
1068
TypeArray pTypeArgs = (call as ExprCall)?.MethWithInst.
TypeArgs
;
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
32
0, name, method.
TypeArgs
, method.MethProp()?.getKind() ?? SYMKIND.SK_MethodSymbol, method.GetType(),
55
CreateMethodInfo(mwi.Meth(), mwi.GetType(), mwi.
TypeArgs
);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (4)
332
pAmbig1.mpwi.
TypeArgs
!= pAmbig2.mpwi.
TypeArgs
||
1084
if (_results.BestResult.
TypeArgs
.Count > 0)
1172
_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)
75
int size = Method.
TypeArgs
?.Count ?? 0;
79
for (int i = 0; i < Method.
TypeArgs
.Count; i++)
81
typeArgs[i] = Method.
TypeArgs
[i].AssociatedSystemType;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
103
CType typeRet = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.
TypeArgs
);
720
method.GetType(), method.
TypeArgs
);
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (5)
125
Debug.Assert(mwi.Meth() != null && mwi.GetType() != null && mwi.
TypeArgs
!= null);
126
Debug.Assert(mwi.Meth().typeVars.Count == mwi.
TypeArgs
.Count);
129
if (mwi.
TypeArgs
.Count > 0)
131
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
);