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)
875typeArgs = call.MethWithInst.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (3)
60if (mpwi1.TypeArgs.Count != 0) 62if (mpwi2.TypeArgs.Count == 0) 67else if (mpwi2.TypeArgs.Count != 0)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
417pReturnType = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 1092TypeArray pTypeArgs = (call as ExprCall)?.MethWithInst.TypeArgs;
Microsoft\CSharp\RuntimeBinder\Semantics\ExprFactory.cs (2)
330, name, method.TypeArgs, method.MethProp()?.getKind() ?? SYMKIND.SK_MethodSymbol, method.GetType(), 62CreateMethodInfo(mwi.Meth(), mwi.GetType(), mwi.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (4)
333pAmbig1.mpwi.TypeArgs != pAmbig2.mpwi.TypeArgs || 1085if (_results.BestResult.TypeArgs.Count > 0) 1173_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)
76int size = Method.TypeArgs?.Count ?? 0; 80for (int i = 0; i < Method.TypeArgs.Count; i++) 82typeArgs[i] = Method.TypeArgs[i].AssociatedSystemType;
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
104CType typeRet = TypeManager.SubstType(mwi.Meth().RetType, mwi.GetType(), mwi.TypeArgs); 721method.GetType(), method.TypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (5)
127Debug.Assert(mwi.Meth() != null && mwi.GetType() != null && mwi.TypeArgs != null); 128Debug.Assert(mwi.Meth().typeVars.Count == mwi.TypeArgs.Count); 131if (mwi.TypeArgs.Count > 0) 133CheckConstraintsCore(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);