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