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) 2077Debug.Assert(m1.Result.IsValid); 2078Debug.Assert(m2.Result.IsValid); 2117Debug.Assert(m1.Result.IsValid); 2118Debug.Assert(m2.Result.IsValid); 2577Debug.Assert(m.Result.IsValid); 4138Debug.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);