2 writes to BestResult
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
347
_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)
743
MethPropWithInst mpwiBest = BindMethodGroupToArgumentsCore(bindFlags, grp, args, carg, namedKind).
BestResult
;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (15)
951
if (!_results.
BestResult
)
953
_results.
BestResult
.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
968
if (!_results.
BestResult
)
970
_results.
BestResult
.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
1079
Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) || _results.
BestResult
.MethProp().isUserCallable());
1083
Debug.Assert(_results.
BestResult
.MethProp() is MethodSymbol);
1085
if (_results.
BestResult
.TypeArgs.Count > 0)
1088
TypeBind.CheckMethConstraints(new MethWithInst(_results.
BestResult
));
1156
Debug.Assert(!_results.
BestResult
|| _results.
BestResult
.MethProp().getClass().IsDelegate());
1157
Debug.Assert(!_results.
BestResult
|| _results.
BestResult
.GetType().OwningAggregate.IsDelegate());
1162
if (_results.
BestResult
)
1237
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes, _results.
BestResult
.GetType());
1240
return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes, _results.
BestResult
);