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