1 write to _results
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
77_results = new GroupToArgsBinderResult();
33 references to _results
Microsoft.CSharp (33)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (33)
103public GroupToArgsBinderResult GetResultsOfBind() => _results; 207if (!fCanAccess && (!_methList.IsEmpty() || _results.InaccessibleResult)) 216if (misnamed && (!_methList.IsEmpty() || _results.InaccessibleResult || _misnamed)) 224if (fBogus && (!_methList.IsEmpty() || _results.InaccessibleResult || _mpwiBogus || _misnamed)) 243Debug.Assert(!_results.InaccessibleResult); 244_results.InaccessibleResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 347_results.BestResult = pmethBest.mpwi; 887if (_results.IsBetterUninferableResult(_pCurrentTypeArgs)) 951if (!_results.BestResult) 953_results.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 968if (!_results.BestResult) 970_results.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 982if (_results.IsBetterUninferableResult(_pCurrentTypeArgs) && _pCurrentSym is MethodSymbol meth) 985_results.UninferableResult.Set(meth, _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)); 1104if (_results.InaccessibleResult) 1107return CSemanticChecker.ReportAccessError(_results.InaccessibleResult, _pExprBinder.ContextForMemberLookup, GetTypeQualifier(_pGroup)); 1156Debug.Assert(!_results.BestResult || _results.BestResult.MethProp().getClass().IsDelegate()); 1157Debug.Assert(!_results.BestResult || _results.BestResult.GetType().OwningAggregate.IsDelegate()); 1162if (_results.BestResult) 1168if (_results.UninferableResult || _mpwiCantInferInstArg) 1170if (!_results.UninferableResult) 1173_results.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.TypeArgs); 1175Debug.Assert(_results.UninferableResult.Sym is MethodSymbol); 1177MethWithType mwtCantInfer = new MethWithType(_results.UninferableResult.Meth(), _results.UninferableResult.GetType()); 1237return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes, _results.BestResult.GetType()); 1240return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes, _results.BestResult);