2 writes to TypeArgs
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (2)
215TypeArgs = null; 227TypeArgs = typeArgs;
25 references to TypeArgs
Microsoft.CSharp (25)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (1)
126this.mpwiMemo.typeArgs = mpwi.TypeArgs;
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
852typeArgs = call.MethWithInst.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (3)
59if (mpwi1.TypeArgs.Count != 0) 61if (mpwi2.TypeArgs.Count == 0) 66else if (mpwi2.TypeArgs.Count != 0)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
408pReturnType = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 1068TypeArray pTypeArgs = (call as ExprCall)?.MethWithInst.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
320, name, method.TypeArgs, method.MethProp()?.getKind() ?? SYMKIND.SK_MethodSymbol, method.GetType(), 55CreateMethodInfo(mwi.Meth(), mwi.GetType(), mwi.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (4)
332pAmbig1.mpwi.TypeArgs != pAmbig2.mpwi.TypeArgs || 1084if (_results.BestResult.TypeArgs.Count > 0) 1172_results.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinderResult.cs (1)
79return IsBetterThanCurrent(UninferableResult.TypeArgs, pTypeArguments);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MethodInfo.cs (3)
75int size = Method.TypeArgs?.Count ?? 0; 79for (int i = 0; i < Method.TypeArgs.Count; i++) 81typeArgs[i] = Method.TypeArgs[i].AssociatedSystemType;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
103CType typeRet = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 720method.GetType(), method.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (5)
125Debug.Assert(mwi.Meth() != null && mwi.GetType() != null && mwi.TypeArgs != null); 126Debug.Assert(mwi.Meth().typeVars.Count == mwi.TypeArgs.Count); 129if (mwi.TypeArgs.Count > 0) 131CheckConstraintsCore(mwi.Meth(), mwi.Meth().typeVars, mwi.TypeArgs, mwi.GetType().TypeArgsAll, mwi.TypeArgs, CheckConstraintsFlags.None);
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (1)
243Set(mpwi.Sym as MethodSymbol, mpwi.Ats, mpwi.TypeArgs);