2 overrides of SpecialType
Microsoft.CodeAnalysis.VisualBasic (2)
Preprocessor\CConst.vb (2)
195
Public Overrides ReadOnly Property
SpecialType
As SpecialType
229
Public Overrides ReadOnly Property
SpecialType
As SpecialType
56 references to SpecialType
Microsoft.CodeAnalysis.VisualBasic (56)
Preprocessor\CConst.vb (1)
142
Return
SpecialType
= SpecialType.None
Preprocessor\ExpressionEvaluator.vb (54)
293
If typeChar <> TypeCharacter.None AndAlso typeChar <> AsTypeCharacter(value.
SpecialType
) Then
294
Return ReportSemanticError(ERRID.ERR_TypecharNoMatch2, expr, GetDisplayString(typeChar), value.
SpecialType
.GetDisplayName())
421
If value.
SpecialType
= SpecialType.System_Object OrElse
422
value.
SpecialType
= SpecialType.System_String Then
427
If value.
SpecialType
= specialType Then
435
Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr.Type, value.
SpecialType
.GetDisplayName(), specialType.GetDisplayName())
448
If val.
SpecialType
= SpecialType.System_Object OrElse
449
val.
SpecialType
= SpecialType.System_String Then
454
If val.
SpecialType
= specialType Then
464
Return ReportSemanticError(ERRID.ERR_TypeMismatch2, expr.Type, val.
SpecialType
, specialType)
573
If Not IsNothing(whenFalse) AndAlso whenFalse.
SpecialType
<> SpecialType.System_Object Then
574
whenTrue = Convert(whenTrue, whenFalse.
SpecialType
, expr.WhenTrue)
577
If whenTrue.
SpecialType
<> SpecialType.System_Object Then
578
whenFalse = Convert(whenFalse, whenTrue.
SpecialType
, expr.WhenFalse)
581
Dim dominantType As SpecialType = CType(s_dominantType(TypeCodeToDominantTypeIndex(whenTrue.
SpecialType
), TypeCodeToDominantTypeIndex(whenFalse.
SpecialType
)), SpecialType)
583
If dominantType <> whenTrue.
SpecialType
Then
587
If dominantType <> whenFalse.
SpecialType
Then
610
Dim specialType = value.
SpecialType
649
Dim fromSpecialType = value.
SpecialType
685
Debug.Assert(value.
SpecialType
.IsNumericType())
700
Dim fromSpecialType = value.
SpecialType
730
Dim fromSpecialType = value.
SpecialType
768
Dim fromSpecialType = value.
SpecialType
804
Dim specialType = value.
SpecialType
845
Return ReportSemanticError(ERRID.ERR_RequiredConstConversion2, expr, value.
SpecialType
.GetDisplayName(), SpecialType.System_Object.GetDisplayName())
850
Dim specialType = val.
SpecialType
944
Return val.
SpecialType
= SpecialType.System_Object AndAlso val.ValueAsObject Is Nothing
1014
OperandType = Right.
SpecialType
1036
OperandType = Left.
SpecialType
1058
Dim ResultType = LookupInOperatorTables(BoundOpcode, Left.
SpecialType
, Right.
SpecialType
)
1110
left.
SpecialType
= right.
SpecialType
, "Binary operation on mismatched types.")
1112
If left.
SpecialType
.IsIntegralType() OrElse left.
SpecialType
= SpecialType.System_Char OrElse left.
SpecialType
= SpecialType.System_DateTime Then
1122
If(left.
SpecialType
.IsUnsignedIntegralType(),
1128
If(left.
SpecialType
.IsUnsignedIntegralType(),
1134
If(left.
SpecialType
.IsUnsignedIntegralType(),
1140
If(left.
SpecialType
.IsUnsignedIntegralType(),
1145
ComparisonSucceeds = If(left.
SpecialType
.IsUnsignedIntegralType(),
1151
If(left.
SpecialType
.IsUnsignedIntegralType(),
1170
left.
SpecialType
,
1190
left.
SpecialType
,
1206
ResultValue = Multiply(LeftValue, RightValue, left.
SpecialType
, resultType, Overflow)
1217
left.
SpecialType
,
1250
RightValue = RightValue And left.
SpecialType
.GetShiftSizeMask()
1258
ResultValue = NarrowIntegralResult(ResultValue, left.
SpecialType
, resultType, overflowTemp)
1261
RightValue = RightValue And left.
SpecialType
.GetShiftSizeMask()
1278
ElseIf left.
SpecialType
.IsFloatingType() Then
1407
ElseIf left.
SpecialType
= SpecialType.System_Decimal Then
1491
ElseIf left.
SpecialType
= SpecialType.System_String Then
1540
ElseIf left.
SpecialType
= SpecialType.System_Boolean Then
Preprocessor\TypeHelpers.vb (1)
23
Dim specialType = v.
SpecialType