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