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)
2085
Debug.Assert(m1.Result.
IsValid
);
2086
Debug.Assert(m2.Result.
IsValid
);
2125
Debug.Assert(m1.Result.
IsValid
);
2126
Debug.Assert(m2.Result.
IsValid
);
2585
Debug.Assert(m.Result.
IsValid
);
4159
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
);