33 references to IsEnumType
Microsoft.CodeAnalysis.VisualBasic (33)
Binding\Binder_Initializers.vb (1)
110
If Not initializer.FieldsOrProperties.IsDefault AndAlso initializer.FieldsOrProperties.First.ContainingType.
IsEnumType
Then
Binding\Binder_Operators.vb (2)
335
Debug.Assert(leftType.GetNullableUnderlyingTypeOrSelf().
IsEnumType
() AndAlso
1189
Debug.Assert(operandType.GetNullableUnderlyingTypeOrSelf().
IsEnumType
())
Binding\Binder_Statements.vb (1)
4697
If structureType.IsStructureType AndAlso Not structureType.
IsEnumType
AndAlso Not structureType.IsIntrinsicType Then
Binding\Binder_Utils.vb (1)
1369
If type.
IsEnumType
Then
CodeGen\EmitArrayInitializer.vb (1)
196
If elementType.
IsEnumType
() Then
CodeGen\EmitExpression.vb (6)
593
If elementType.
IsEnumType
() Then
717
Debug.Assert(temp Is Nothing OrElse receiver.Type.
IsEnumType
, "temp is unexpected, just reading a field")
809
If expr.Type.
IsEnumType
Then
837
If type.
IsEnumType
() Then
2120
If elementType.
IsEnumType
() Then
2191
If type.
IsEnumType
() Then
CodeGen\EmitStatement.vb (1)
473
If ts.
IsEnumType
Then
Compilation\VisualBasicCompilation.vb (2)
3007
If leftType.
IsEnumType
() AndAlso
3078
If operandType.
IsEnumType
() AndAlso
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (2)
472
If type.IsErrorType OrElse type.
IsEnumType
Then
512
Debug.Assert(Not type.
IsEnumType
)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (4)
306
If operandNotNullableType.
IsEnumType
AndAlso Not isIsIsNot Then
462
If resultNotNullableType.
IsEnumType
Then
520
If notNullableType.
IsEnumType
Then
542
Debug.Assert(Not resultType.GetNullableUnderlyingTypeOrSelf().
IsEnumType
)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (1)
105
If origArgNotNullableType.
IsEnumType
Then
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
759
Debug.Assert(memberSymbol.Parameters(2).Type.
IsEnumType
())
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
896
Debug.Assert(targetResultType.
IsEnumType
())
966
If operandType.
IsEnumType
() Then
1041
Debug.Assert(targetResultType.
IsEnumType
())
1105
If operandType.
IsEnumType
() Then
1178
Debug.Assert(targetResultType.
IsEnumType
())
Semantics\CompileTimeCalculations.vb (1)
684
targetType.
IsEnumType
() OrElse
Semantics\Conversions.vb (1)
1596
If constantExpression.IsIntegerZeroLiteral() AndAlso targetDestinationType.
IsEnumType
() AndAlso
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
3047
If asType IsNot Nothing AndAlso asType.
IsEnumType
Then
3105
If Me.
IsEnumType
() Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1823
If Not Me.
IsEnumType
Then