2 writes to BestResult
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
346
_results.
BestResult
= pmethBest.mpwi;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinderResult.cs (1)
24
BestResult
= new MethPropWithInst();
16 references to BestResult
Microsoft.CSharp (16)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
727
MethPropWithInst mpwiBest = BindMethodGroupToArgumentsCore(bindFlags, grp, args, carg, namedKind).
BestResult
;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (15)
950
if (!_results.
BestResult
)
952
_results.
BestResult
.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
967
if (!_results.
BestResult
)
969
_results.
BestResult
.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
1078
Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) || _results.
BestResult
.MethProp().isUserCallable());
1082
Debug.Assert(_results.
BestResult
.MethProp() is MethodSymbol);
1084
if (_results.
BestResult
.TypeArgs.Count > 0)
1087
TypeBind.CheckMethConstraints(new MethWithInst(_results.
BestResult
));
1155
Debug.Assert(!_results.
BestResult
|| _results.
BestResult
.MethProp().getClass().IsDelegate());
1156
Debug.Assert(!_results.
BestResult
|| _results.
BestResult
.GetType().OwningAggregate.IsDelegate());
1161
if (_results.
BestResult
)
1236
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes, _results.
BestResult
.GetType());
1239
return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes, _results.
BestResult
);