8 writes to carg
Microsoft.CSharp (8)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
866
carg
= ExpressionBinder.CountArguments(arguments)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (3)
560
info.
carg
= 1;
698
ArgInfos pargInfo = new ArgInfos {
carg
= carg };
701
ArgInfos pOriginalArgInfo = new ArgInfos {
carg
= carg };
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (3)
300
dst.
carg
= src.carg;
479
pArguments.
carg
= pCurrentParameters.Count;
711
_pArguments.
carg
= @params.Count;
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2556
info.
carg
= 2;
33 references to carg
Microsoft.CSharp (33)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
882
for (int i = argInfo.
carg
- 1; i >= 0; i--)
Microsoft\CSharp\RuntimeBinder\Semantics\Binding\Better.cs (5)
206
for (int i = pta.Count; i < args.
carg
; i++)
214
if (args.
carg
== 0 || !(args.prgexpr[args.
carg
- 1] is ExprNamedArgumentSpecification))
231
for (int iParam = 0; iParam < args.
carg
; iParam++)
312
int carg = args.
carg
;
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (2)
1313
CType[] prgtype = new CType[argInfo.
carg
];
1338
Debug.Assert(iarg <= argInfo.
carg
);
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (20)
182
if (_pCurrentParameters.Count != _pArguments.
carg
)
300
dst.carg = src.
carg
;
380
if (numParameters == 0 || numParameters < _pArguments.
carg
)
428
index < pArguments.
carg
&&
435
if (index < pArguments.
carg
&&
667
if (_pCurrentParameters.Count <= _pArguments.
carg
)
682
int i = _pArguments.
carg
;
721
for (int i = 0; i < pArguments.
carg
; i++)
744
for (int i = 0; i < _pArguments.
carg
; i++)
839
for (int i = _pArguments.
carg
; i < _pCurrentSym.Params.Count; i++)
846
if (_pArguments.
carg
+ numOptionals < _pCurrentParameters.Count - 1)
854
return TryGetExpandedParams(_pCurrentSym.Params, _pArguments.
carg
, out _pCurrentParameters);
912
if (_pArguments.
carg
!= 0)
915
for (int ivar = 0; ivar < _pArguments.
carg
; ivar++)
926
for (int ivar = 0; ivar < _pArguments.
carg
; ivar++)
1116
if (i == _pOriginalArguments.
carg
)
1183
return ErrorHandling.Error(cvar > 0 ? ErrorCode.ERR_BadArity : ErrorCode.ERR_HasNoTypeVars, _mwtBadArity, new ErrArgSymKind(_mwtBadArity.Meth()), _pArguments.
carg
);
1219
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgCount, nameErr, _pArguments.
carg
);
1225
return ErrorHandling.Error(ErrorCode.ERR_BadCtorArgCount, _pGroup.ParentType, _pArguments.
carg
);
1228
return ErrorHandling.Error(ErrorCode.ERR_BadArgCount, nameErr, _pArguments.
carg
);
Microsoft\CSharp\RuntimeBinder\Semantics\MethodIterator.cs (2)
107
for (int i = 0; i < args.
carg
; i++)
112
if (paramNames[i] != named.Name || i == paramNames.Count - 1 && i != args.
carg
- 1)
Microsoft\CSharp\RuntimeBinder\Semantics\MethodTypeInferrer.cs (3)
100
Debug.Assert(pMethodArguments.
carg
<= pMethodFormalParameterTypes.Count);
256
Debug.Assert(_pMethodArguments.
carg
<= _pMethodFormalParameterTypes.Count);
259
for (int iArg = 0; iArg < _pMethodArguments.
carg
; iArg++)