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);
344
_results
.BestResult = pmethBest.mpwi;
881
if (
_results
.IsBetterUninferableResult(_pCurrentTypeArgs))
945
if (!
_results
.BestResult)
947
_results
.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
962
if (!
_results
.BestResult)
964
_results
.BestResult.Set(_pCurrentSym, _pCurrentType, _pCurrentTypeArgs);
976
if (
_results
.IsBetterUninferableResult(_pCurrentTypeArgs) && _pCurrentSym is MethodSymbol meth)
979
_results
.UninferableResult.Set(meth, _pCurrentType, _pCurrentTypeArgs);
1073
Debug.Assert(0 == (_pGroup.Flags & EXPRFLAG.EXF_USERCALLABLE) ||
_results
.BestResult.MethProp().isUserCallable());
1077
Debug.Assert(
_results
.BestResult.MethProp() is MethodSymbol);
1079
if (
_results
.BestResult.TypeArgs.Count > 0)
1082
TypeBind.CheckMethConstraints(new MethWithInst(
_results
.BestResult));
1098
if (
_results
.InaccessibleResult)
1101
return CSemanticChecker.ReportAccessError(
_results
.InaccessibleResult, _pExprBinder.ContextForMemberLookup, GetTypeQualifier(_pGroup));
1150
Debug.Assert(!
_results
.BestResult ||
_results
.BestResult.MethProp().getClass().IsDelegate());
1151
Debug.Assert(!
_results
.BestResult ||
_results
.BestResult.GetType().OwningAggregate.IsDelegate());
1156
if (
_results
.BestResult)
1162
if (
_results
.UninferableResult || _mpwiCantInferInstArg)
1164
if (!
_results
.UninferableResult)
1167
_results
.UninferableResult.Set(_mpwiCantInferInstArg.Sym as MethodSymbol, _mpwiCantInferInstArg.GetType(), _mpwiCantInferInstArg.TypeArgs);
1169
Debug.Assert(
_results
.UninferableResult.Sym is MethodSymbol);
1171
MethWithType mwtCantInfer = new MethWithType(
_results
.UninferableResult.Meth(),
_results
.UninferableResult.GetType());
1231
return ErrorHandling.Error(ErrorCode.ERR_BadDelArgTypes,
_results
.BestResult.GetType());
1234
return ErrorHandling.Error(ErrorCode.ERR_BadArgTypes,
_results
.BestResult);