87 instantiations of OperatorInfo
Microsoft.CodeAnalysis.VisualBasic (87)
Binding\DocumentationCommentCrefBinder.vb (28)
903
Dim opInfo As New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.IsTrue)
909
Dim opInfo As New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.IsFalse)
915
Dim opInfo As New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.Not)
924
Dim opInfo As New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.Plus)
927
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Add)
933
Dim opInfo As New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.Minus)
936
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Subtract)
942
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Multiply)
948
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Divide)
954
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.IntegerDivide)
960
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Modulo)
966
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Power)
972
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Equals)
978
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.NotEquals)
984
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.LessThan)
990
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.GreaterThan)
996
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.LessThanOrEqual)
1002
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.GreaterThanOrEqual)
1008
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Like)
1014
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Concatenate)
1020
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.And)
1029
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Or)
1038
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.Xor)
1044
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.LeftShift)
1053
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.RightShift)
1062
Dim opInfo As New OverloadResolution.
OperatorInfo
(BinaryOperatorKind.RightShift)
1064
WellKnownMemberNames.ImplicitConversionName, New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.Implicit),
1066
WellKnownMemberNames.ExplicitConversionName, New OverloadResolution.
OperatorInfo
(UnaryOperatorKind.Explicit))
Semantics\Operators.vb (59)
91
operators.Add(WellKnownMemberNames.OnesComplementOperatorName, New
OperatorInfo
(UnaryOperatorKind.Not))
92
operators.Add(WellKnownMemberNames.TrueOperatorName, New
OperatorInfo
(UnaryOperatorKind.IsTrue))
93
operators.Add(WellKnownMemberNames.FalseOperatorName, New
OperatorInfo
(UnaryOperatorKind.IsFalse))
94
operators.Add(WellKnownMemberNames.UnaryPlusOperatorName, New
OperatorInfo
(UnaryOperatorKind.Plus))
95
operators.Add(WellKnownMemberNames.AdditionOperatorName, New
OperatorInfo
(BinaryOperatorKind.Add))
96
operators.Add(WellKnownMemberNames.UnaryNegationOperatorName, New
OperatorInfo
(UnaryOperatorKind.Minus))
97
operators.Add(WellKnownMemberNames.SubtractionOperatorName, New
OperatorInfo
(BinaryOperatorKind.Subtract))
98
operators.Add(WellKnownMemberNames.MultiplyOperatorName, New
OperatorInfo
(BinaryOperatorKind.Multiply))
99
operators.Add(WellKnownMemberNames.DivisionOperatorName, New
OperatorInfo
(BinaryOperatorKind.Divide))
100
operators.Add(WellKnownMemberNames.IntegerDivisionOperatorName, New
OperatorInfo
(BinaryOperatorKind.IntegerDivide))
101
operators.Add(WellKnownMemberNames.ModulusOperatorName, New
OperatorInfo
(BinaryOperatorKind.Modulo))
102
operators.Add(WellKnownMemberNames.ExponentOperatorName, New
OperatorInfo
(BinaryOperatorKind.Power))
103
operators.Add(WellKnownMemberNames.EqualityOperatorName, New
OperatorInfo
(BinaryOperatorKind.Equals))
104
operators.Add(WellKnownMemberNames.InequalityOperatorName, New
OperatorInfo
(BinaryOperatorKind.NotEquals))
105
operators.Add(WellKnownMemberNames.LessThanOperatorName, New
OperatorInfo
(BinaryOperatorKind.LessThan))
106
operators.Add(WellKnownMemberNames.GreaterThanOperatorName, New
OperatorInfo
(BinaryOperatorKind.GreaterThan))
107
operators.Add(WellKnownMemberNames.LessThanOrEqualOperatorName, New
OperatorInfo
(BinaryOperatorKind.LessThanOrEqual))
108
operators.Add(WellKnownMemberNames.GreaterThanOrEqualOperatorName, New
OperatorInfo
(BinaryOperatorKind.GreaterThanOrEqual))
109
operators.Add(WellKnownMemberNames.LikeOperatorName, New
OperatorInfo
(BinaryOperatorKind.Like))
110
operators.Add(WellKnownMemberNames.ConcatenateOperatorName, New
OperatorInfo
(BinaryOperatorKind.Concatenate))
111
operators.Add(WellKnownMemberNames.BitwiseAndOperatorName, New
OperatorInfo
(BinaryOperatorKind.And))
112
operators.Add(WellKnownMemberNames.BitwiseOrOperatorName, New
OperatorInfo
(BinaryOperatorKind.Or))
113
operators.Add(WellKnownMemberNames.ExclusiveOrOperatorName, New
OperatorInfo
(BinaryOperatorKind.Xor))
114
operators.Add(WellKnownMemberNames.LeftShiftOperatorName, New
OperatorInfo
(BinaryOperatorKind.LeftShift))
115
operators.Add(WellKnownMemberNames.RightShiftOperatorName, New
OperatorInfo
(BinaryOperatorKind.RightShift))
116
operators.Add(WellKnownMemberNames.ImplicitConversionName, New
OperatorInfo
(UnaryOperatorKind.Implicit))
117
operators.Add(WellKnownMemberNames.ExplicitConversionName, New
OperatorInfo
(UnaryOperatorKind.Explicit))
120
operators.Add(WellKnownMemberNames.LogicalNotOperatorName, New
OperatorInfo
(UnaryOperatorKind.Not))
121
operators.Add(WellKnownMemberNames.LogicalAndOperatorName, New
OperatorInfo
(BinaryOperatorKind.And))
122
operators.Add(WellKnownMemberNames.LogicalOrOperatorName, New
OperatorInfo
(BinaryOperatorKind.Or))
123
operators.Add(WellKnownMemberNames.UnsignedLeftShiftOperatorName, New
OperatorInfo
(BinaryOperatorKind.LeftShift))
124
operators.Add(WellKnownMemberNames.UnsignedRightShiftOperatorName, New
OperatorInfo
(BinaryOperatorKind.RightShift))
2837
WellKnownMemberNames.ImplicitConversionName, New
OperatorInfo
(UnaryOperatorKind.Implicit),
2838
WellKnownMemberNames.ExplicitConversionName, New
OperatorInfo
(UnaryOperatorKind.Explicit),
2956
WellKnownMemberNames.TrueOperatorName, New
OperatorInfo
(UnaryOperatorKind.IsTrue),
2970
WellKnownMemberNames.FalseOperatorName, New
OperatorInfo
(UnaryOperatorKind.IsFalse),
2991
Dim opInfo As New
OperatorInfo
(UnaryOperatorKind.Not)
2998
WellKnownMemberNames.UnaryNegationOperatorName, New
OperatorInfo
(UnaryOperatorKind.Minus),
3003
WellKnownMemberNames.UnaryPlusOperatorName, New
OperatorInfo
(UnaryOperatorKind.Minus),
3029
WellKnownMemberNames.AdditionOperatorName, New
OperatorInfo
(opKind),
3034
WellKnownMemberNames.SubtractionOperatorName, New
OperatorInfo
(opKind),
3039
WellKnownMemberNames.MultiplyOperatorName, New
OperatorInfo
(opKind),
3044
WellKnownMemberNames.DivisionOperatorName, New
OperatorInfo
(opKind),
3049
WellKnownMemberNames.IntegerDivisionOperatorName, New
OperatorInfo
(opKind),
3054
WellKnownMemberNames.ModulusOperatorName, New
OperatorInfo
(opKind),
3059
WellKnownMemberNames.ExponentOperatorName, New
OperatorInfo
(opKind),
3064
WellKnownMemberNames.EqualityOperatorName, New
OperatorInfo
(opKind),
3069
WellKnownMemberNames.InequalityOperatorName, New
OperatorInfo
(opKind),
3074
WellKnownMemberNames.LessThanOperatorName, New
OperatorInfo
(opKind),
3079
WellKnownMemberNames.GreaterThanOperatorName, New
OperatorInfo
(opKind),
3084
WellKnownMemberNames.LessThanOrEqualOperatorName, New
OperatorInfo
(opKind),
3089
WellKnownMemberNames.GreaterThanOrEqualOperatorName, New
OperatorInfo
(opKind),
3094
WellKnownMemberNames.LikeOperatorName, New
OperatorInfo
(opKind),
3099
WellKnownMemberNames.ConcatenateOperatorName, New
OperatorInfo
(opKind),
3103
Dim opInfo As New
OperatorInfo
(opKind)
3110
Dim opInfo As New
OperatorInfo
(opKind)
3117
WellKnownMemberNames.ExclusiveOrOperatorName, New
OperatorInfo
(opKind),
3121
Dim opInfo As New
OperatorInfo
(opKind)
3127
Dim opInfo As New
OperatorInfo
(opKind)
21 references to OperatorInfo
Microsoft.CodeAnalysis.VisualBasic (21)
Binding\DocumentationCommentCrefBinder.vb (2)
1078
info1 As OverloadResolution.
OperatorInfo
,
1081
Optional info2 As OverloadResolution.
OperatorInfo
= Nothing)
Compilation\VisualBasicCompilation.vb (2)
2980
opInfo As OverloadResolution.
OperatorInfo
)
3051
opInfo As OverloadResolution.
OperatorInfo
)
Semantics\Operators.vb (11)
23
Private Shared ReadOnly s_operatorNames As Dictionary(Of String,
OperatorInfo
)
78
Friend Shared Function GetOperatorInfo(name As String) As
OperatorInfo
79
Dim result As
OperatorInfo
= Nothing
89
Dim operators As New Dictionary(Of String,
OperatorInfo
)(IdentifierComparison.Comparer)
130
Dim opInfo As
OperatorInfo
= GetOperatorInfo(name)
134
Friend Shared Function GetOperatorTokenKind(opInfo As
OperatorInfo
) As SyntaxKind
295
opInfo As
OperatorInfo
302
opInfo As
OperatorInfo
,
2852
name1Info As
OperatorInfo
,
2854
name2InfoOpt As
OperatorInfo
,
2912
opInfo As
OperatorInfo
,
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
398
Dim opInfo As OverloadResolution.
OperatorInfo
= OverloadResolution.GetOperatorInfo(nameToCheck)
Symbols\Metadata\PE\PEMethodSymbol.vb (4)
406
Dim opInfo As OverloadResolution.
OperatorInfo
= OverloadResolution.GetOperatorInfo(name)
452
Private Function ComputeMethodKindForPotentialOperatorOrConversion(opInfo As OverloadResolution.
OperatorInfo
) As MethodKind
523
Private Function IsPotentialOperatorOrConversion(opInfo As OverloadResolution.
OperatorInfo
) As Boolean
531
opInfo As OverloadResolution.
OperatorInfo
,
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
3627
Dim opInfo As OverloadResolution.
OperatorInfo
= OverloadResolution.GetOperatorInfo(method.Name)