1 write to _results
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (1)
76_results = new GroupToArgsBinderResult();
33 references to _results
Microsoft.CSharp (33)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (33)
102public GroupToArgsBinderResult GetResultsOfBind() => _results; 206if (!fCanAccess && (!_methList.IsEmpty() || _results.InaccessibleResult)) 215if (misnamed && (!_methList.IsEmpty() || _results.InaccessibleResult || _misnamed)) 223if (fBogus && (!_methList.IsEmpty() || _results.InaccessibleResult || _mpwiBogus || _misnamed)) 242Debug.Assert(!_results.InaccessibleResult); 243_results.InaccessibleResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 346_results.BestResult = pmethBest.mpwi; 886if (_results.IsBetterUninferableResult(_pCurrentTypeArgs)) 950if (!_results.BestResult) 952_results.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 967if (!_results.BestResult) 969_results.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs); 981if (_results.IsBetterUninferableResult(_pCurrentTypeArgs) && _pCurrentSym is MethodSymbol meth) 984_results.UninferableResult.Set(meth, _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)); 1103if (_results.InaccessibleResult) 1106return CSemanticChecker.ReportAccessError(_results.InaccessibleResult, _pExprBinder.ContextForMemberLookup, GetTypeQualifier(_pGroup)); 1155Debug.Assert(!_results.BestResult || _results.BestResult.MethProp().getClass().IsDelegate()); 1156Debug.Assert(!_results.BestResult || _results.BestResult.GetType().OwningAggregate.IsDelegate()); 1161if (_results.BestResult) 1167if (_results.UninferableResult || _mpwiCantInferInstArg) 1169if (!_results.UninferableResult) 1172_results.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.TypeArgs); 1174Debug.Assert(_results.UninferableResult.Sym is MethodSymbol); 1176MethWithType mwtCantInfer = new MethWithType(_results.UninferableResult.Meth(), _results.UninferableResult.GetType()); 1236return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes, _results.BestResult.GetType()); 1239return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes, _results.BestResult);