3 writes to Params
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (3)
1216prop.Params = CreateParameterArray(null, property.GetIndexParameters()); 1221prop.Params = TypeArray.Empty; 1427methodSymbol.Params = CreateParameterArray(methodSymbol.AssociatedMemberInfo, parameters);
57 references to Params
Microsoft.CSharp (57)
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (2)
267ErrAppendParamList(TypeManager.SubstTypeArray(meth.Params, pctx), meth.isParamArray); 275ErrAppendParamList(TypeManager.SubstTypeArray(indexer.Params, pctx), indexer.isParamArray);
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (3)
812if ((payload.Name.StartsWith("set_", StringComparison.Ordinal) && ((MethodSymbol)swt.Sym).Params.Count > 1) || 813(payload.Name.StartsWith("get_", StringComparison.Ordinal) && ((MethodSymbol)swt.Sym).Params.Count > 0)) 873TypeArray parameters = TypeManager.SubstTypeArray(methprop.Params, type, typeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (2)
86RearrangeNamedArguments(mpwi1.MethProp().Params, mpwi1, pTypeThrough, args), 87RearrangeNamedArguments(mpwi2.MethProp().Params, mpwi2, pTypeThrough, args));
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
713if (convCur.Params.Count != 1) 727typeFrom = TypeManager.SubstType(convCur.Params[0], atsCur); 883typeFrom = TypeManager.SubstType(uci.Meth.Meth().Params[0], uci.Meth.GetType()); 984typeFrom = TypeManager.SubstType(mwiBest.Meth().Params[0], mwiBest.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (15)
466Debug.Assert(pwt.Prop().Params.Count == 0 || pwt.Prop() is IndexerSymbol); 593if (!methCur.isOperator || methCur.Params.Count != 1) 600TypeArray paramsCur = TypeManager.SubstTypeArray(methCur.Params, atsCur); 919foreach (CType type in meth.Params.Items) 1078Debug.Assert(mp.Params != null); 1084int paramCount = mp.Params.Count; 1085TypeArray @params = mp.Params; 1114if (paramCount == 1 && mp.isParamArray && argCount > mp.Params.Count) 1136Debug.Assert(index != mp.Params.Count); 1141mp.isParamArray && index == mp.Params.Count - 1) 1151CType arrayType = (ArrayType)TypeManager.SubstType(mp.Params[mp.Params.Count - 1], type, pTypeArgs); 1178if (mp.isParamArray && paramCount == 1 && argCount >= mp.Params.Count) 1218CType substitutedArrayType = TypeManager.SubstType(mp.Params[mp.Params.Count - 1], type, pTypeArgs);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (8)
146_pCurrentParameters = _pCurrentSym.Params; 331pAmbig1.mpwi.MethProp().Params.Count != pAmbig2.mpwi.MethProp().Params.Count || 334pAmbig1.mpwi.MethProp().Params == pAmbig2.mpwi.MethProp().Params) 451else if (paramArrayArgument != null && index == methprop.Params.Count - 1) 839for (int i = _pArguments.carg; i < _pCurrentSym.Params.Count; i++) 854return TryGetExpandedParams(_pCurrentSym.Params, _pArguments.carg, out _pCurrentParameters);
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (2)
147(!symCur.name.Text.StartsWith("set_", StringComparison.Ordinal) || meth.Params.Count <= 1) && 148(!symCur.name.Text.StartsWith("get_", StringComparison.Ordinal) || meth.Params.Count <= 0))
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (1)
92Debug.Assert(pMethod.isParamArray || pMethod.Params == pMethodFormalParameterTypes);
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (6)
2339Debug.Assert(pCall.MethWithInst.Meth().Params.Count == 2); 2340if (!TypeManager.SubstEqualTypes(typeRet, pCall.MethWithInst.Meth().Params[0], typeRet) || 2341!TypeManager.SubstEqualTypes(typeRet, pCall.MethWithInst.Meth().Params[1], typeRet)) 2453if (!method.isOperator || method.Params.Count != 2) 2458TypeArray paramsCur = TypeManager.SubstTypeArray(method.Params, ats); 2619TypeArray paramsRaw = TypeManager.SubstTypeArray(mpwi.Meth().Params, mpwi.GetType());
Microsoft\CSharp\RuntimeBinder\Semantics\PredefinedMembers.cs (1)
366TypeManager.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)
33TypeArray genericParams = TypeManager.SubstTypeArray(methSym.Params, aggType, methSym.typeVars); 106TypeArray genericInstanceParams = TypeManager.SubstTypeArray(methSym.Params, aggType);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\PropertyInfo.cs (1)
33TypeArray genericInstanceParams = TypeManager.SubstTypeArray(propSym.Params, aggType, null);
Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs (2)
987CType fptype1 = method.Params[0]; 988CType fptype2 = method.Params[1];
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (2)
1253if (isIndexer || prop.GetterMethod.Params.Count == 0) 1274if (isIndexer || prop.SetterMethod.Params.Count == 1)