40 writes to State
Microsoft.CodeAnalysis.VisualBasic (40)
Semantics\OverloadResolution.vb (40)
765Me.State = state 770Me.State = CandidateAnalysisResultState.Applicable 1562current.State = CandidateAnalysisResultState.RequiresNarrowing 1634contender.State = CandidateAnalysisResultState.LessApplicable 2016current.State = CandidateAnalysisResultState.Shadowed 2196right.State = CandidateAnalysisResultState.Shadowed 2199left.State = CandidateAnalysisResultState.Shadowed 2243current.State = CandidateAnalysisResultState.Shadowed 2781current.State = CandidateAnalysisResultState.Shadowed 2790contender.State = CandidateAnalysisResultState.Shadowed 2828current.State = CandidateAnalysisResultState.ExtensionMethodVsLateBinding 2868second.State = CandidateAnalysisResultState.Shadowed 2872first.State = CandidateAnalysisResultState.Shadowed 3002current.State = CandidateAnalysisResultState.ArgumentMismatch 3075candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3087candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3106candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3134candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3142candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3154candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3163candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3174candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3269candidate.State = CandidateAnalysisResultState.GenericConstraintsViolated 3296candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3320candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3333candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3363candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3376candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3385candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3394candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3451candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3460candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3466candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3588candidate.State = CandidateAnalysisResultState.ArgumentMismatch ' Possible only with user-defined conversions, I think. 3602candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3625candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3655candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3665candidate.State = CandidateAnalysisResultState.ArgumentMismatch 3721candidate.State = CandidateAnalysisResultState.ArgumentMismatch 5316candidate.State = CandidateAnalysisResultState.TypeInferenceFailed
61 references to State
Microsoft.CodeAnalysis.VisualBasic (61)
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 (52)
833If current.State = CandidateAnalysisResultState.Applicable Then 1309If current.State <> CandidateAnalysisResultState.Applicable Then 1376If existingCandidate.State = CandidateAnalysisResultState.ArgumentCountMismatch OrElse 1377existingCandidate.State = CandidateAnalysisResultState.BadGenericArity OrElse 1378existingCandidate.State = CandidateAnalysisResultState.Ambiguous OrElse 1379existingCandidate.State = CandidateAnalysisResultState.TypeInferenceFailed OrElse existingCandidate.SomeInferenceFailed OrElse 1380existingCandidate.State = CandidateAnalysisResultState.HasUseSiteError OrElse 1381existingCandidate.State = CandidateAnalysisResultState.HasUnsupportedMetadata OrElse 1382existingCandidate.State = CandidateAnalysisResultState.LessApplicable OrElse 1383existingCandidate.State = CandidateAnalysisResultState.Shadowed Then 1391If newCandidate.State <> CandidateAnalysisResultState.Applicable Then 1434Debug.Assert(newCandidate.State = CandidateAnalysisResultState.Applicable) 1560If current.State = CandidateAnalysisResultState.Applicable Then 1630If contender.State <> CandidateAnalysisResultState.Applicable Then 1733If contender.State <> CandidateAnalysisResultState.Applicable Then 1765If contender.State <> CandidateAnalysisResultState.Applicable Then 1992If current.State = CandidateAnalysisResultState.Applicable Then 2009If current.State <> CandidateAnalysisResultState.Applicable Then 2086If current.State = CandidateAnalysisResultState.Applicable Then 2140If left.State <> CandidateAnalysisResultState.Applicable Then 2147If right.State <> CandidateAnalysisResultState.Applicable Then 2206If left.State = CandidateAnalysisResultState.Applicable Then 2219If current.State = CandidateAnalysisResultState.Applicable Then 2236If current.State <> CandidateAnalysisResultState.Applicable Then 2549If left.State <> CandidateAnalysisResultState.Applicable OrElse 2565If right.State <> CandidateAnalysisResultState.Applicable OrElse 2715If current.State = CandidateAnalysisResultState.Applicable AndAlso 2722If contender.State = CandidateAnalysisResultState.Applicable AndAlso 2746If current.State = CandidateAnalysisResultState.Applicable AndAlso 2753If contender.State = CandidateAnalysisResultState.Applicable AndAlso 2826If current.State = CandidateAnalysisResultState.Applicable Then 2857If first.State = CandidateAnalysisResultState.Applicable Then 2861If second.State = CandidateAnalysisResultState.Applicable Then 2923If current.State = CandidateAnalysisResultState.Applicable AndAlso 2966If current.State <> CandidateAnalysisResultState.Applicable Then 2976If current.State = CandidateAnalysisResultState.Applicable Then 2995If current.State = CandidateAnalysisResultState.Applicable AndAlso current.IsIllegalInAttribute Then 3041Debug.Assert(candidate.State = CandidateAnalysisResultState.Applicable) 3226Debug.Assert(candidate.State = CandidateAnalysisResultState.Applicable) 3238If candidate.State <> CandidateAnalysisResultState.Applicable Then 3282If candidate.State <> CandidateAnalysisResultState.Applicable AndAlso 4264Debug.Assert(newCandidate.State <> CandidateAnalysisResultState.Applicable) 4286Debug.Assert(newCandidate.State = CandidateAnalysisResultState.Applicable) 4300If existingCandidate.State = CandidateAnalysisResultState.ArgumentCountMismatch OrElse 4301existingCandidate.State = CandidateAnalysisResultState.BadGenericArity OrElse 4302existingCandidate.State = CandidateAnalysisResultState.Ambiguous Then 4327If existingCandidate.State = CandidateAnalysisResultState.TypeInferenceFailed OrElse existingCandidate.SomeInferenceFailed OrElse 4328existingCandidate.State = CandidateAnalysisResultState.HasUseSiteError OrElse 4329existingCandidate.State = CandidateAnalysisResultState.HasUnsupportedMetadata Then 4533Dim existingIsApplicable As Boolean = (existingCandidate.State = CandidateAnalysisResultState.Applicable) 5268If candidate.State = CandidateAnalysisResultState.Applicable Then 5355Return (candidate.State = CandidateAnalysisResultState.Applicable)