40 writes to State
Microsoft.CodeAnalysis.VisualBasic (40)
Semantics\OverloadResolution.vb (40)
717Me.State = state 722Me.State = CandidateAnalysisResultState.Applicable 1202current.State = CandidateAnalysisResultState.RequiresNarrowing 1274contender.State = CandidateAnalysisResultState.LessApplicable 1656current.State = CandidateAnalysisResultState.Shadowed 1836right.State = CandidateAnalysisResultState.Shadowed 1839left.State = CandidateAnalysisResultState.Shadowed 1883current.State = CandidateAnalysisResultState.Shadowed 2421current.State = CandidateAnalysisResultState.Shadowed 2430contender.State = CandidateAnalysisResultState.Shadowed 2468current.State = CandidateAnalysisResultState.ExtensionMethodVsLateBinding 2508second.State = CandidateAnalysisResultState.Shadowed 2512first.State = CandidateAnalysisResultState.Shadowed 2642current.State = CandidateAnalysisResultState.ArgumentMismatch 2715candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2727candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2746candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2774candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2782candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2794candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2803candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2814candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2909candidate.State = CandidateAnalysisResultState.GenericConstraintsViolated 2936candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2960candidate.State = CandidateAnalysisResultState.ArgumentMismatch 2973candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3003candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3016candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3025candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3034candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3091candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3100candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3106candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3228candidate.State = CandidateAnalysisResultState.ArgumentMismatch ' Possible only with user-defined conversions, I think. 3242candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3265candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3295candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3305candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3361candidate.State = CandidateAnalysisResultState.ArgumentMismatch 4916candidate.State = CandidateAnalysisResultState.TypeInferenceFailed
50 references to State
Microsoft.CodeAnalysis.VisualBasic (50)
Binding\Binder_Invocation.vb (6)
1699Dim prefNew = preference(candidate.State) 2003If candidateAnalysisResult.State = VisualBasic.OverloadResolution.CandidateAnalysisResultState.HasUseSiteError OrElse 2004candidateAnalysisResult.State = VisualBasic.OverloadResolution.CandidateAnalysisResultState.HasUnsupportedMetadata Then 2199If candidate.IsGeneric AndAlso candidateAnalysisResult.State = OverloadResolution.CandidateAnalysisResultState.TypeInferenceFailed Then 2270If candidateAnalysisResult.State = OverloadResolution.CandidateAnalysisResultState.GenericConstraintsViolated Then 2632Debug.Assert(candidate.State = OverloadResolution.CandidateAnalysisResultState.Applicable)
Compilation\MethodResolutionResult.vb (3)
46Debug.Assert(Not isValid OrElse candidate.State = OverloadResolution.CandidateAnalysisResultState.Applicable) 66If _candidate.State = OverloadResolution.CandidateAnalysisResultState.HasUnsupportedMetadata Then 70Return CType(_candidate.State, MemberResolutionKind)
Semantics\OverloadResolution.vb (41)
785If current.State = CandidateAnalysisResultState.Applicable Then 1200If current.State = CandidateAnalysisResultState.Applicable Then 1270If contender.State <> CandidateAnalysisResultState.Applicable Then 1373If contender.State <> CandidateAnalysisResultState.Applicable Then 1405If contender.State <> CandidateAnalysisResultState.Applicable Then 1632If current.State = CandidateAnalysisResultState.Applicable Then 1649If current.State <> CandidateAnalysisResultState.Applicable Then 1726If current.State = CandidateAnalysisResultState.Applicable Then 1780If left.State <> CandidateAnalysisResultState.Applicable Then 1787If right.State <> CandidateAnalysisResultState.Applicable Then 1846If left.State = CandidateAnalysisResultState.Applicable Then 1859If current.State = CandidateAnalysisResultState.Applicable Then 1876If current.State <> CandidateAnalysisResultState.Applicable Then 2189If left.State <> CandidateAnalysisResultState.Applicable OrElse 2205If right.State <> CandidateAnalysisResultState.Applicable OrElse 2355If current.State = CandidateAnalysisResultState.Applicable AndAlso 2362If contender.State = CandidateAnalysisResultState.Applicable AndAlso 2386If current.State = CandidateAnalysisResultState.Applicable AndAlso 2393If contender.State = CandidateAnalysisResultState.Applicable AndAlso 2466If current.State = CandidateAnalysisResultState.Applicable Then 2497If first.State = CandidateAnalysisResultState.Applicable Then 2501If second.State = CandidateAnalysisResultState.Applicable Then 2563If current.State = CandidateAnalysisResultState.Applicable AndAlso 2606If current.State <> CandidateAnalysisResultState.Applicable Then 2616If current.State = CandidateAnalysisResultState.Applicable Then 2635If current.State = CandidateAnalysisResultState.Applicable AndAlso current.IsIllegalInAttribute Then 2681Debug.Assert(candidate.State = CandidateAnalysisResultState.Applicable) 2866Debug.Assert(candidate.State = CandidateAnalysisResultState.Applicable) 2878If candidate.State <> CandidateAnalysisResultState.Applicable Then 2922If candidate.State <> CandidateAnalysisResultState.Applicable AndAlso 3897Debug.Assert(newCandidate.State <> CandidateAnalysisResultState.Applicable) 3918Debug.Assert(newCandidate.State = CandidateAnalysisResultState.Applicable) 3932If existingCandidate.State = CandidateAnalysisResultState.ArgumentCountMismatch OrElse 3933existingCandidate.State = CandidateAnalysisResultState.BadGenericArity OrElse 3934existingCandidate.State = CandidateAnalysisResultState.Ambiguous Then 3959If existingCandidate.State = CandidateAnalysisResultState.TypeInferenceFailed OrElse existingCandidate.SomeInferenceFailed OrElse 3960existingCandidate.State = CandidateAnalysisResultState.HasUseSiteError OrElse 3961existingCandidate.State = CandidateAnalysisResultState.HasUnsupportedMetadata Then 4133Dim existingIsApplicable As Boolean = (existingCandidate.State = CandidateAnalysisResultState.Applicable) 4868If candidate.State = CandidateAnalysisResultState.Applicable Then 4955Return (candidate.State = CandidateAnalysisResultState.Applicable)