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