15 references to IsValid
Microsoft.CodeAnalysis.CSharp (15)
Binder\Semantics\OverloadResolution\MemberResolutionResult.cs (1)
87
return Result.
IsValid
;
Binder\Semantics\OverloadResolution\OverloadResolution.cs (12)
935
if (!normalResult.
IsValid
)
940
if (expandedResult.
IsValid
|| completeResults)
948
if (result.
IsValid
|| completeResults || result.HasUseSiteDiagnosticToReportFor(constructor))
1041
Debug.Assert(!result.
IsValid
|| result.Kind == MemberResolutionKind.ApplicableInExpandedForm);
1177
if (!normalResult.Result.
IsValid
)
1206
if (result.Result.
IsValid
|| completeResults || result.HasUseSiteDiagnosticToReport)
2077
Debug.Assert(m1.Result.
IsValid
);
2078
Debug.Assert(m2.Result.
IsValid
);
2117
Debug.Assert(m1.Result.
IsValid
);
2118
Debug.Assert(m2.Result.
IsValid
);
2577
Debug.Assert(m.Result.
IsValid
);
4138
Debug.Assert(!result.Result.
IsValid
|| result.Result.Kind == MemberResolutionKind.ApplicableInExpandedForm);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
54
return _bestResultState == ThreeState.True && _bestResult.Result.
IsValid
;
68
Debug.Assert(_bestResultState == ThreeState.True && _bestResult.Result.
IsValid
);