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)
103
public GroupToArgsBinderResult GetResultsOfBind() =>
_results
;
207
if (!fCanAccess && (!_methList.IsEmpty() ||
_results
.InaccessibleResult))
216
if (misnamed && (!_methList.IsEmpty() ||
_results
.InaccessibleResult || _misnamed))
224
if (fBogus && (!_methList.IsEmpty() ||
_results
.InaccessibleResult || _mpwiBogus || _misnamed))
243
Debug.Assert(!
_results
.InaccessibleResult);
244
_results
.InaccessibleResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
347
_results
.BestResult = pmethBest.mpwi;
887
if (
_results
.IsBetterUninferableResult(_pCurrentTypeArgs))
951
if (!
_results
.BestResult)
953
_results
.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
968
if (!
_results
.BestResult)
970
_results
.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
982
if (
_results
.IsBetterUninferableResult(_pCurrentTypeArgs) && _pCurrentSym is MethodSymbol meth)
985
_results
.UninferableResult.Set(meth, _pCurrentType, _pCurrentTypeArgs);
1079
Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) ||
_results
.BestResult.MethProp().isUserCallable());
1083
Debug.Assert(
_results
.BestResult.MethProp() is MethodSymbol);
1085
if (
_results
.BestResult.TypeArgs.Count > 0)
1088
TypeBind.CheckMethConstraints(new MethWithInst(
_results
.BestResult));
1104
if (
_results
.InaccessibleResult)
1107
return CSemanticChecker.ReportAccessError(
_results
.InaccessibleResult, _pExprBinder.ContextForMemberLookup, GetTypeQualifier(_pGroup));
1156
Debug.Assert(!
_results
.BestResult ||
_results
.BestResult.MethProp().getClass().IsDelegate());
1157
Debug.Assert(!
_results
.BestResult ||
_results
.BestResult.GetType().OwningAggregate.IsDelegate());
1162
if (
_results
.BestResult)
1168
if (
_results
.UninferableResult || _mpwiCantInferInstArg)
1170
if (!
_results
.UninferableResult)
1173
_results
.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.TypeArgs);
1175
Debug.Assert(
_results
.UninferableResult.Sym is MethodSymbol);
1177
MethWithType mwtCantInfer = new MethWithType(
_results
.UninferableResult.Meth(),
_results
.UninferableResult.GetType());
1237
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes,
_results
.BestResult.GetType());
1240
return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes,
_results
.BestResult);