2 writes to BestResult
Microsoft.CSharp (2)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
344
_results.
BestResult
= pmethBest.mpwi;
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinderResult.cs (1)
25
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)
945
if (!_results.
BestResult
)
947
_results.
BestResult
.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
962
if (!_results.
BestResult
)
964
_results.
BestResult
.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
1073
Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) || _results.
BestResult
.MethProp().isUserCallable());
1077
Debug.Assert(_results.
BestResult
.MethProp() is MethodSymbol);
1079
if (_results.
BestResult
.TypeArgs.Count > 0)
1082
TypeBind.CheckMethConstraints(new MethWithInst(_results.
BestResult
));
1150
Debug.Assert(!_results.
BestResult
|| _results.
BestResult
.MethProp().getClass().IsDelegate());
1151
Debug.Assert(!_results.
BestResult
|| _results.
BestResult
.GetType().OwningAggregate.IsDelegate());
1156
if (_results.
BestResult
)
1231
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes, _results.
BestResult
.GetType());
1234
return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes, _results.
BestResult
);