3 writes to Params
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (3)
1241prop.Params = CreateParameterArray(null, property.GetIndexParameters()); 1246prop.Params = TypeArray.Empty; 1454methodSymbol.Params = CreateParameterArray(methodSymbol.AssociatedMemberInfo, parameters);
57 references to Params
Microsoft.CSharp (57)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (2)
273ErrAppendParamList(TypeManager.SubstTypeArray(meth.Params, pctx), meth.isParamArray); 282ErrAppendParamList(TypeManager.SubstTypeArray(indexer.Params, pctx), indexer.isParamArray);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (3)
834if ((payload.Name.StartsWith("set_", StringComparison.Ordinal) && ((MethodSymbol)swt.Sym).Params.Count > 1) || 835(payload.Name.StartsWith("get_", StringComparison.Ordinal) && ((MethodSymbol)swt.Sym).Params.Count > 0)) 896TypeArray parameters = TypeManager.SubstTypeArray(methprop.Params, type, typeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (2)
87RearrangeNamedArguments(mpwi1.MethProp().Params, mpwi1, pTypeThrough, args), 88RearrangeNamedArguments(mpwi2.MethProp().Params, mpwi2, pTypeThrough, args));
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
740if (convCur.Params.Count != 1) 754typeFrom = TypeManager.SubstType(convCur.Params[0], atsCur); 910typeFrom = TypeManager.SubstType(uci.Meth.Meth().Params[0], uci.Meth.GetType()); 1011typeFrom = TypeManager.SubstType(mwiBest.Meth().Params[0], mwiBest.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (15)
477Debug.Assert(pwt.Prop().Params.Count == 0 || pwt.Prop() is IndexerSymbol); 605if (!methCur.isOperator || methCur.Params.Count != 1) 612TypeArray paramsCur = TypeManager.SubstTypeArray(methCur.Params, atsCur); 940foreach (CType type in meth.Params.Items) 1103Debug.Assert(mp.Params != null); 1109int paramCount = mp.Params.Count; 1110TypeArray @params = mp.Params; 1139if (paramCount == 1 && mp.isParamArray && argCount > mp.Params.Count) 1161Debug.Assert(index != mp.Params.Count); 1166mp.isParamArray && index == mp.Params.Count - 1) 1176CType arrayType = (ArrayType)TypeManager.SubstType(mp.Params[mp.Params.Count - 1], type, pTypeArgs); 1203if (mp.isParamArray && paramCount == 1 && argCount >= mp.Params.Count) 1243CType substitutedArrayType = TypeManager.SubstType(mp.Params[mp.Params.Count - 1], type, pTypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (8)
147_pCurrentParameters = _pCurrentSym.Params; 332pAmbig1.mpwi.MethProp().Params.Count != pAmbig2.mpwi.MethProp().Params.Count || 335pAmbig1.mpwi.MethProp().Params == pAmbig2.mpwi.MethProp().Params) 452else if (paramArrayArgument != null && index == methprop.Params.Count - 1) 840for (int i = _pArguments.carg; i < _pCurrentSym.Params.Count; i++) 855return TryGetExpandedParams(_pCurrentSym.Params, _pArguments.carg, out _pCurrentParameters);
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (2)
148(!symCur.name.Text.StartsWith("set_", StringComparison.Ordinal) || meth.Params.Count <= 1) && 149(!symCur.name.Text.StartsWith("get_", StringComparison.Ordinal) || meth.Params.Count <= 0))
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (1)
93Debug.Assert(pMethod.isParamArray || pMethod.Params == pMethodFormalParameterTypes);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (6)
2396Debug.Assert(pCall.MethWithInst.Meth().Params.Count == 2); 2397if (!TypeManager.SubstEqualTypes(typeRet, pCall.MethWithInst.Meth().Params[0], typeRet) || 2398!TypeManager.SubstEqualTypes(typeRet, pCall.MethWithInst.Meth().Params[1], typeRet)) 2513if (!method.isOperator || method.Params.Count != 2) 2518TypeArray paramsCur = TypeManager.SubstTypeArray(method.Params, ats); 2684TypeArray paramsRaw = TypeManager.SubstTypeArray(mpwi.Meth().Params, mpwi.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (1)
375TypeManager.SubstEqualTypeArrays(methsym.Params, argumentTypes, null, methsym.typeVars))
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodOrPropertySymbol.cs (2)
92Debug.Assert(index < Params.Count); 125Debug.Assert(index < Params.Count);
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\MethodSymbol.cs (4)
48if (ipar >= Params.Count) 54if (TypeManager.TypeContainsType(Params[ipar], var)) 74Params.Count == 1 && 75Params[0] is TypeParameterType &&
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\MethodInfo.cs (2)
34TypeArray genericParams = TypeManager.SubstTypeArray(methSym.Params, aggType, methSym.typeVars); 107TypeArray genericInstanceParams = TypeManager.SubstTypeArray(methSym.Params, aggType);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\PropertyInfo.cs (1)
34TypeArray genericInstanceParams = TypeManager.SubstTypeArray(propSym.Params, aggType, null);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
988CType fptype1 = method.Params[0]; 989CType fptype2 = method.Params[1];
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
1278if (isIndexer || prop.GetterMethod.Params.Count == 0) 1299if (isIndexer || prop.SetterMethod.Params.Count == 1)