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)
102
public GroupToArgsBinderResult GetResultsOfBind() =>
_results
;
206
if (!fCanAccess && (!_methList.IsEmpty() ||
_results
.InaccessibleResult))
215
if (misnamed && (!_methList.IsEmpty() ||
_results
.InaccessibleResult || _misnamed))
223
if (fBogus && (!_methList.IsEmpty() ||
_results
.InaccessibleResult || _mpwiBogus || _misnamed))
242
Debug.Assert(!
_results
.InaccessibleResult);
243
_results
.InaccessibleResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
346
_results
.BestResult = pmethBest.mpwi;
886
if (
_results
.IsBetterUninferableResult(_pCurrentTypeArgs))
950
if (!
_results
.BestResult)
952
_results
.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
967
if (!
_results
.BestResult)
969
_results
.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
981
if (
_results
.IsBetterUninferableResult(_pCurrentTypeArgs) && _pCurrentSym is MethodSymbol meth)
984
_results
.UninferableResult.Set(meth, _pCurrentType, _pCurrentTypeArgs);
1078
Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) ||
_results
.BestResult.MethProp().isUserCallable());
1082
Debug.Assert(
_results
.BestResult.MethProp() is MethodSymbol);
1084
if (
_results
.BestResult.TypeArgs.Count > 0)
1087
TypeBind.CheckMethConstraints(new MethWithInst(
_results
.BestResult));
1103
if (
_results
.InaccessibleResult)
1106
return CSemanticChecker.ReportAccessError(
_results
.InaccessibleResult, _pExprBinder.ContextForMemberLookup, GetTypeQualifier(_pGroup));
1155
Debug.Assert(!
_results
.BestResult ||
_results
.BestResult.MethProp().getClass().IsDelegate());
1156
Debug.Assert(!
_results
.BestResult ||
_results
.BestResult.GetType().OwningAggregate.IsDelegate());
1161
if (
_results
.BestResult)
1167
if (
_results
.UninferableResult || _mpwiCantInferInstArg)
1169
if (!
_results
.UninferableResult)
1172
_results
.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.TypeArgs);
1174
Debug.Assert(
_results
.UninferableResult.Sym is MethodSymbol);
1176
MethWithType mwtCantInfer = new MethWithType(
_results
.UninferableResult.Meth(),
_results
.UninferableResult.GetType());
1236
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes,
_results
.BestResult.GetType());
1239
return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes,
_results
.BestResult);