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