173 references to SymbolComparisonResults
Microsoft.CodeAnalysis.VisualBasic (173)
Symbols\MethodSignatureComparer.vb (73)
315
comparisons As
SymbolComparisonResults
,
316
Optional stopIfAny As
SymbolComparisonResults
= 0
317
) As
SymbolComparisonResults
318
Dim results As
SymbolComparisonResults
= Nothing
324
If (comparisons And
SymbolComparisonResults
.ArityMismatch) <> 0 Then
326
results = results Or
SymbolComparisonResults
.ArityMismatch
327
If (stopIfAny And
SymbolComparisonResults
.ArityMismatch) <> 0 Then
333
If (stopIfAny And
SymbolComparisonResults
.TotalParameterCountMismatch) <> 0 Then
335
results = results Or
SymbolComparisonResults
.TotalParameterCountMismatch
343
If (comparisons And (
SymbolComparisonResults
.ReturnTypeMismatch Or
SymbolComparisonResults
.CustomModifierMismatch Or
SymbolComparisonResults
.TupleNamesMismatch)) <> 0 Then
361
If (comparisons And
SymbolComparisonResults
.AllParameterMismatches) <> 0 Then
370
If (comparisons And
SymbolComparisonResults
.CallingConventionMismatch) <> 0 Then
372
results = results Or
SymbolComparisonResults
.CallingConventionMismatch
373
If (stopIfAny And
SymbolComparisonResults
.CallingConventionMismatch) <> 0 Then
379
If (comparisons And
SymbolComparisonResults
.VarargMismatch) <> 0 Then
381
results = results Or
SymbolComparisonResults
.VarargMismatch
382
If (stopIfAny And
SymbolComparisonResults
.VarargMismatch) <> 0 Then
388
If (comparisons And
SymbolComparisonResults
.ConstraintMismatch) <> 0 Then
393
Debug.Assert((comparisons And
SymbolComparisonResults
.ArityMismatch) <> 0)
395
If ((results And
SymbolComparisonResults
.ArityMismatch) = 0) AndAlso
397
results = results Or
SymbolComparisonResults
.ConstraintMismatch
398
If (stopIfAny And
SymbolComparisonResults
.ConstraintMismatch) <> 0 Then
405
If (comparisons And
SymbolComparisonResults
.NameMismatch) <> 0 Then
407
results = results Or
SymbolComparisonResults
.NameMismatch
408
If (stopIfAny And
SymbolComparisonResults
.NameMismatch) <> 0 Then
448
comparisons As
SymbolComparisonResults
,
449
Optional stopIfAny As
SymbolComparisonResults
= 0
450
) As
SymbolComparisonResults
452
Return
SymbolComparisonResults
.ReturnTypeMismatch
459
Return
SymbolComparisonResults
.ReturnTypeMismatch
462
Dim result As
SymbolComparisonResults
= 0
464
If (comparisons And
SymbolComparisonResults
.TupleNamesMismatch) <> 0 AndAlso
466
result = result Or
SymbolComparisonResults
.TupleNamesMismatch
467
If (stopIfAny And
SymbolComparisonResults
.TupleNamesMismatch) <> 0 Then
472
If (comparisons And
SymbolComparisonResults
.CustomModifierMismatch) <> 0 AndAlso
475
result = result Or
SymbolComparisonResults
.CustomModifierMismatch
476
If (stopIfAny And
SymbolComparisonResults
.CustomModifierMismatch) <> 0 Then
498
comparisons As
SymbolComparisonResults
,
499
Optional stopIfAny As
SymbolComparisonResults
= 0
500
) As
SymbolComparisonResults
501
Dim results As
SymbolComparisonResults
= Nothing
518
results = results Or
SymbolComparisonResults
.TotalParameterCountMismatch
519
If (stopIfAny And
SymbolComparisonResults
.TotalParameterCountMismatch) <> 0 Then
525
results = results Or
SymbolComparisonResults
.OptionalParameterMismatch
526
If (stopIfAny And
SymbolComparisonResults
.OptionalParameterMismatch) <> 0 Then
530
results = results Or
SymbolComparisonResults
.RequiredExtraParameterMismatch
531
If (stopIfAny And
SymbolComparisonResults
.RequiredExtraParameterMismatch) <> 0 Then
545
(
SymbolComparisonResults
.OptionalParameterTypeMismatch Or
546
SymbolComparisonResults
.RequiredParameterTypeMismatch Or
547
SymbolComparisonResults
.CustomModifierMismatch Or
548
SymbolComparisonResults
.TupleNamesMismatch)) <> 0 Then
564
results = results Or
SymbolComparisonResults
.OptionalParameterMismatch
565
If (stopIfAny And
SymbolComparisonResults
.OptionalParameterMismatch) <> 0 Then
576
results = results Or
SymbolComparisonResults
.OptionalParameterTypeMismatch
577
If (stopIfAny And
SymbolComparisonResults
.OptionalParameterTypeMismatch) <> 0 Then
581
results = results Or
SymbolComparisonResults
.RequiredParameterTypeMismatch
582
If (stopIfAny And
SymbolComparisonResults
.RequiredParameterTypeMismatch) <> 0 Then
587
If (comparisons And
SymbolComparisonResults
.TupleNamesMismatch) <> 0 AndAlso
591
results = results Or
SymbolComparisonResults
.TupleNamesMismatch
592
If (stopIfAny And
SymbolComparisonResults
.TupleNamesMismatch) <> 0 Then
597
If (comparisons And
SymbolComparisonResults
.CustomModifierMismatch) <> 0 AndAlso
601
results = results Or
SymbolComparisonResults
.CustomModifierMismatch
602
If (stopIfAny And
SymbolComparisonResults
.CustomModifierMismatch) <> 0 Then
610
results = results Or
SymbolComparisonResults
.ParameterByrefMismatch
611
If (stopIfAny And
SymbolComparisonResults
.ParameterByrefMismatch) <> 0 Then
616
If (comparisons And
SymbolComparisonResults
.ParamArrayMismatch) <> 0 Then
618
results = results Or
SymbolComparisonResults
.ParamArrayMismatch
619
If (stopIfAny And
SymbolComparisonResults
.ParamArrayMismatch) <> 0 Then
626
(comparisons And
SymbolComparisonResults
.OptionalParameterValueMismatch) <> 0 Then
652
results = results Or
SymbolComparisonResults
.OptionalParameterValueMismatch
653
If (stopIfAny And
SymbolComparisonResults
.OptionalParameterValueMismatch) <> 0 Then
Symbols\PropertySignatureComparer.vb (20)
152
comparisons As
SymbolComparisonResults
,
153
Optional stopIfAny As
SymbolComparisonResults
= 0
154
) As
SymbolComparisonResults
155
Dim results As
SymbolComparisonResults
= Nothing
161
If (comparisons And
SymbolComparisonResults
.PropertyAccessorMismatch) <> 0 Then
163
results = results Or
SymbolComparisonResults
.PropertyAccessorMismatch
164
If (stopIfAny And
SymbolComparisonResults
.PropertyAccessorMismatch) <> 0 Then
169
If (comparisons And
SymbolComparisonResults
.PropertyInitOnlyMismatch) <> 0 AndAlso
172
results = results Or
SymbolComparisonResults
.PropertyInitOnlyMismatch
173
If (stopIfAny And
SymbolComparisonResults
.PropertyInitOnlyMismatch) <> 0 Then
179
If (comparisons And (
SymbolComparisonResults
.ReturnTypeMismatch Or
SymbolComparisonResults
.CustomModifierMismatch Or
SymbolComparisonResults
.TupleNamesMismatch)) <> 0 Then
195
If (comparisons And
SymbolComparisonResults
.AllParameterMismatches) <> 0 Then
202
If (comparisons And
SymbolComparisonResults
.CallingConventionMismatch) <> 0 Then
204
results = results Or
SymbolComparisonResults
.CallingConventionMismatch
205
If (stopIfAny And
SymbolComparisonResults
.CallingConventionMismatch) <> 0 Then
212
If (comparisons And
SymbolComparisonResults
.NameMismatch) <> 0 Then
214
results = results Or
SymbolComparisonResults
.NameMismatch
215
If (stopIfAny And
SymbolComparisonResults
.NameMismatch) <> 0 Then
Symbols\Source\ImplementsHelper.vb (3)
411
Return MembersAreMatching(implementingSym, implementedSym, Not
SymbolComparisonResults
.MismatchesForExplicitInterfaceImplementations, EventSignatureComparer.ExplicitEventImplementationComparer)
418
Return MembersAreMatching(implementingSym, implementedSym,
SymbolComparisonResults
.TupleNamesMismatch, EventSignatureComparer.ExplicitEventImplementationWithTupleNamesComparer)
423
comparisons As
SymbolComparisonResults
,
Symbols\Source\OverrideHidingHelper.vb (28)
95
Const mismatchesForOverriding As
SymbolComparisonResults
=
96
(
SymbolComparisonResults
.AllMismatches And (Not
SymbolComparisonResults
.MismatchesForConflictingMethods)) Or
97
SymbolComparisonResults
.CustomModifierMismatch
101
Const exactMatchIgnoringCustomModifiersMask As
SymbolComparisonResults
=
102
SymbolComparisonResults
.TotalParameterCountMismatch Or
SymbolComparisonResults
.OptionalParameterTypeMismatch
105
Const exactMatchMask As
SymbolComparisonResults
=
106
exactMatchIgnoringCustomModifiersMask Or
SymbolComparisonResults
.CustomModifierMismatch
108
Dim results As
SymbolComparisonResults
= DetailedSignatureCompare(sym1, sym2, mismatchesForOverriding)
128
comparisons As
SymbolComparisonResults
,
129
Optional stopIfAny As
SymbolComparisonResults
= 0
130
) As
SymbolComparisonResults
871
Dim comparisonResults As
SymbolComparisonResults
= DetailedSignatureCompare(member, overriddenMember,
SymbolComparisonResults
.AllMismatches)
878
ElseIf (comparisonResults And
SymbolComparisonResults
.ParameterByrefMismatch) <> 0 Then
880
ElseIf (comparisonResults And
SymbolComparisonResults
.OptionalParameterMismatch) <> 0 Then
882
ElseIf (comparisonResults And
SymbolComparisonResults
.ReturnTypeMismatch) <> 0 Then
884
ElseIf (comparisonResults And
SymbolComparisonResults
.PropertyAccessorMismatch) <> 0 Then
886
ElseIf (comparisonResults And
SymbolComparisonResults
.PropertyInitOnlyMismatch) <> 0 Then
888
ElseIf (comparisonResults And
SymbolComparisonResults
.ParamArrayMismatch) <> 0 Then
890
ElseIf (comparisonResults And
SymbolComparisonResults
.OptionalParameterTypeMismatch) <> 0 Then
892
ElseIf (comparisonResults And
SymbolComparisonResults
.OptionalParameterValueMismatch) <> 0 Then
894
ElseIf (comparisonResults And
SymbolComparisonResults
.ConstraintMismatch) <> 0 Then
898
ElseIf member.ContainsTupleNames() AndAlso (comparisonResults And
SymbolComparisonResults
.TupleNamesMismatch) <> 0 Then
937
Const significantDifferences As
SymbolComparisonResults
=
SymbolComparisonResults
.AllMismatches And
938
Not
SymbolComparisonResults
.MismatchesForConflictingMethods
Symbols\Source\SourceMemberContainerTypeSymbol.vb (44)
1951
Dim options =
SymbolComparisonResults
.ArityMismatch Or
SymbolComparisonResults
.ConstraintMismatch
1967
Dim comparisons =
SymbolComparisonResults
.AllMismatches And
1968
Not (
SymbolComparisonResults
.CallingConventionMismatch Or
1969
SymbolComparisonResults
.ConstraintMismatch Or
1970
SymbolComparisonResults
.OptionalParameterValueMismatch Or
1971
SymbolComparisonResults
.ParamArrayMismatch)
1973
Dim result As
SymbolComparisonResults
= MethodSignatureComparer.DetailedCompare(partialDeclaration, candidate, comparisons)
3571
Dim comparisonResults As
SymbolComparisonResults
= OverrideHidingHelper.DetailedSignatureCompare(
3574
SymbolComparisonResults
.AllMismatches And Not (
SymbolComparisonResults
.CallingConventionMismatch Or
SymbolComparisonResults
.ConstraintMismatch))
3576
Debug.Assert((comparisonResults And
SymbolComparisonResults
.PropertyInitOnlyMismatch) = 0)
3579
If (comparisonResults And Not
SymbolComparisonResults
.MismatchesForConflictingMethods) = 0 Then
3615
Dim significantDiff As
SymbolComparisonResults
= Not
SymbolComparisonResults
.MismatchesForConflictingMethods
3620
significantDiff = significantDiff Or
SymbolComparisonResults
.ReturnTypeMismatch
3694
Dim comparisonResults As
SymbolComparisonResults
= MethodSignatureComparer.DetailedCompare(
3697
SymbolComparisonResults
.AllMismatches And
3698
Not (
SymbolComparisonResults
.CallingConventionMismatch Or
3699
SymbolComparisonResults
.ConstraintMismatch Or
3700
SymbolComparisonResults
.CustomModifierMismatch Or
3701
SymbolComparisonResults
.NameMismatch))
3703
If (comparisonResults And (Not
SymbolComparisonResults
.MismatchesForConflictingMethods Or
SymbolComparisonResults
.ReturnTypeMismatch)) = 0 Then
3731
significantDiff As
SymbolComparisonResults
,
3748
Dim comparisonResults As
SymbolComparisonResults
= MethodSignatureComparer.DetailedCompare(
3751
SymbolComparisonResults
.AllMismatches And
3752
Not (
SymbolComparisonResults
.CallingConventionMismatch Or
3753
SymbolComparisonResults
.ConstraintMismatch Or
3754
SymbolComparisonResults
.CustomModifierMismatch Or
3755
SymbolComparisonResults
.NameMismatch))
3757
Debug.Assert((comparisonResults And
SymbolComparisonResults
.PropertyInitOnlyMismatch) = 0)
3840
Private Sub ReportOverloadsErrors(comparisonResults As
SymbolComparisonResults
, firstMember As Symbol, secondMember As Symbol, location As Location, diagnostics As BindingDiagnosticBag)
3841
Debug.Assert((comparisonResults And
SymbolComparisonResults
.PropertyInitOnlyMismatch) = 0)
3852
If (comparisonResults And
SymbolComparisonResults
.TupleNamesMismatch) <> 0 Then
3856
If (comparisonResults And
SymbolComparisonResults
.ParameterByrefMismatch) <> 0 Then
3860
If (comparisonResults And
SymbolComparisonResults
.ReturnTypeMismatch) <> 0 Then
3864
If (comparisonResults And
SymbolComparisonResults
.ParamArrayMismatch) <> 0 Then
3868
If (comparisonResults And
SymbolComparisonResults
.OptionalParameterMismatch) <> 0 AndAlso (comparisonResults And
SymbolComparisonResults
.TotalParameterCountMismatch) = 0 Then
3874
Debug.Assert((comparisonResults And
SymbolComparisonResults
.OptionalParameterTypeMismatch) = 0)
3881
If (comparisonResults And
SymbolComparisonResults
.OptionalParameterValueMismatch) <> 0 Then
3885
If (comparisonResults And
SymbolComparisonResults
.PropertyAccessorMismatch) <> 0 Then
Symbols\Source\SourceMemberMethodSymbol.vb (5)
253
Dim result As
SymbolComparisonResults
= MethodSignatureComparer.DetailedCompare(Me, methodImpl,
254
SymbolComparisonResults
.OptionalParameterValueMismatch Or
255
SymbolComparisonResults
.ParamArrayMismatch)
261
If (result And
SymbolComparisonResults
.ParamArrayMismatch) <> 0 Then
263
ElseIf (result And
SymbolComparisonResults
.OptionalParameterValueMismatch) <> 0 Then