74 references to GetEnumUnderlyingTypeOrSelf
Microsoft.CodeAnalysis.VisualBasic (74)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1251type = type.GetEnumUnderlyingTypeOrSelf
Binding\Binder_Conversions.vb (2)
154sourceType.GetEnumUnderlyingTypeOrSelf().IsSameTypeIgnoringAll(targetType.GetEnumUnderlyingTypeOrSelf()))
Binding\Binder_Expressions.vb (4)
3232VerifyTypeCharacterConsistency(asMemberAccess.Name, fieldAccessType.GetEnumUnderlyingTypeOrSelf, diagnostics) 3264VerifyTypeCharacterConsistency(asSimpleName, localAccessType.GetEnumUnderlyingTypeOrSelf, diagnostics) 3296VerifyTypeCharacterConsistency(asSimpleName, parameterType.GetEnumUnderlyingTypeOrSelf, diagnostics) 3338VerifyTypeCharacterConsistency(asSimpleName, type.GetEnumUnderlyingTypeOrSelf, diagnostics)
Binding\Binder_Initializers.vb (1)
544targetType = targetType.GetEnumUnderlyingTypeOrSelf
Binding\Binder_Invocation.vb (2)
3222If paramNullableUnderlyingTypeOrSelf.GetEnumUnderlyingTypeOrSelf().SpecialType = SpecialType.System_Int32 Then 3229If paramNullableUnderlyingTypeOrSelf.GetEnumUnderlyingTypeOrSelf().SpecialType = defaultSpecialType Then
Binding\Binder_Operators.vb (2)
1074If rightType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf().IsIntrinsicType() OrElse 1114If leftType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf().IsIntrinsicType() OrElse
Binding\Binder_Statements.vb (3)
1436If valueType IsNot Nothing AndAlso valueType.GetEnumUnderlyingTypeOrSelf.IsIntrinsicType Then 3140targetTypeIsValid = IsValidForControlVariableType(node, targetType.GetEnumUnderlyingTypeOrSelf(), diagnostics) 3329targetType = targetType.GetNullableUnderlyingType.GetEnumUnderlyingTypeOrSelf
CodeGen\EmitArrayInitializer.vb (1)
186Dim type As TypeSymbol = init.Type.GetEnumUnderlyingTypeOrSelf
CodeGen\EmitConversion.vb (8)
57Debug.Assert(underlyingFrom = conversion.Operand.Type.GetEnumUnderlyingTypeOrSelf().PrimitiveTypeCode) 58Debug.Assert(underlyingTo = conversion.Type.GetEnumUnderlyingTypeOrSelf().PrimitiveTypeCode) 166Dim underlyingTo = typeTo.GetEnumUnderlyingTypeOrSelf().PrimitiveTypeCode 168Dim underlyingFrom = typeFrom.GetEnumUnderlyingTypeOrSelf().PrimitiveTypeCode 289Not typeFrom.GetEnumUnderlyingTypeOrSelf().IsSameTypeIgnoringAll(typeTo.GetEnumUnderlyingTypeOrSelf()) AndAlso 328If typeFrom.GetEnumUnderlyingTypeOrSelf().IsSameTypeIgnoringAll(typeTo.GetEnumUnderlyingTypeOrSelf()) Then
CodeGen\EmitOperators.vb (1)
387Return leftOperandType.GetEnumUnderlyingTypeOrSelf.SpecialType.GetShiftSizeMask()
CodeGen\EmitStatement.vb (3)
1056_builder.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, GetLocal(DirectCast(selectExpression, BoundLocal)), keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode, syntax) 1059_builder.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, ParameterSlot(DirectCast(selectExpression, BoundParameter)), keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode, syntax) 1066_builder.EmitIntegerSwitchJumpTable(caseLabels, fallThroughLabel, temp, keyTypeCode:=exprType.GetEnumUnderlyingTypeOrSelf.PrimitiveTypeCode, syntax)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (5)
202Dim resultUnderlyingType As TypeSymbol = resultNotNullableType.GetEnumUnderlyingTypeOrSelf 241Dim operandUnderlyingType As TypeSymbol = operandNotNullableType.GetEnumUnderlyingTypeOrSelf 386Dim resultUnderlyingType As TypeSymbol = resultNotNullableType.GetEnumUnderlyingTypeOrSelf 521Dim underlyingType As TypeSymbol = notNullableType.GetEnumUnderlyingTypeOrSelf 556shiftedType = operandType.GetEnumUnderlyingTypeOrSelf()
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (2)
136Dim underlyingTo As TypeSymbol = notNullableTo.GetEnumUnderlyingTypeOrSelf() 139Dim underlyingFrom As TypeSymbol = notNullableFrom.GetEnumUnderlyingTypeOrSelf()
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (1)
25Dim origArgUnderlyingType As TypeSymbol = origArgNotNullableType.GetEnumUnderlyingTypeOrSelf
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
799Return type.GetNullableUnderlyingTypeOrSelf.GetEnumUnderlyingTypeOrSelf
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (1)
760Debug.Assert(memberSymbol.Parameters(2).Type.GetEnumUnderlyingTypeOrSelf().SpecialType = SpecialType.System_Int32)
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (2)
716Dim underlyingTypeTo = rewrittenConversion.Type.GetEnumUnderlyingTypeOrSelf() 735Dim underlyingTypeFrom = operand.Type.GetEnumUnderlyingTypeOrSelf()
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (8)
108Not rewrittenStep.Type.GetEnumUnderlyingTypeOrSelf.IsSignedIntegralType AndAlso 109Not rewrittenStep.Type.GetEnumUnderlyingTypeOrSelf.IsUnsignedIntegralType Then 119If stepValue.Type.GetEnumUnderlyingTypeOrSelf.IsNumericType Then 127Dim literalUnderlyingType As TypeSymbol = stepValue.Type.GetEnumUnderlyingTypeOrSelf 327If rewrittenStep.Type.GetEnumUnderlyingTypeOrSelf.IsUnsignedIntegralType Then 633Dim bits As Integer = [step].Type.GetEnumUnderlyingTypeOrSelf.SpecialType.VBForToShiftBits() 682If stepValue.Type.GetEnumUnderlyingTypeOrSelf.IsUnsignedIntegralType Then 719If stepValue.Type.GetEnumUnderlyingTypeOrSelf.IsSignedIntegralType Then
Semantics\Conversions.vb (7)
530Dim sourceEnumUnderlying = sourceNullableUnderlying.GetEnumUnderlyingTypeOrSelf() 533Dim targetEnumUnderlying = targetNullableUnderlying.GetEnumUnderlyingTypeOrSelf() 745Dim sourceType = sourceExpressionType.GetEnumUnderlyingTypeOrSelf() 746Dim targetType = destination.GetEnumUnderlyingTypeOrSelf() 1677Dim underlyingSourceType = sourceType.GetEnumUnderlyingTypeOrSelf() 1678Dim underlyingDestination = destination.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 3339Select Case type.GetEnumUnderlyingTypeOrSelf().SpecialType
Semantics\Operators.vb (8)
518Dim enumUnderlying = nullableUnderlying.GetEnumUnderlyingTypeOrSelf() 723Dim underlyingResultType = resultType.GetEnumUnderlyingTypeOrSelf() 879Dim leftEnumUnderlying = leftNullableUnderlying.GetEnumUnderlyingTypeOrSelf() 881Dim rightEnumUnderlying = rightNullableUnderlying.GetEnumUnderlyingTypeOrSelf() 987Dim leftEnumUnderlying = leftType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 988Dim rightEnumUnderlying = rightType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 1062Dim leftUnderlying = leftType.GetEnumUnderlyingTypeOrSelf() 1063Dim resultUnderlying = resultType.GetEnumUnderlyingTypeOrSelf()
Symbols\Attributes\SourceAttributeData.vb (1)
166Dim specType = parameterType.GetEnumUnderlyingTypeOrSelf.SpecialType
Symbols\Metadata\PE\PEFieldSymbol.vb (2)
234Dim selfOrUnderlyingType = Me.Type.GetEnumUnderlyingTypeOrSelf 240If Me.Type.GetEnumUnderlyingTypeOrSelf.IsNumericType Then
Symbols\MethodSignatureComparer.vb (2)
697Dim descriminator = ConstantValue.GetDiscriminator(param1.Type.GetEnumUnderlyingTypeOrSelf.SpecialType) 704Dim descriminator = ConstantValue.GetDiscriminator(param2.Type.GetEnumUnderlyingTypeOrSelf.SpecialType)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
276constantType = constantType.GetEnumUnderlyingTypeOrSelf
Symbols\TypeSymbolExtensions.vb (5)
427this = this.GetEnumUnderlyingTypeOrSelf() 502Dim underlyingType As TypeSymbol = this.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 919Return type.GetEnumUnderlyingTypeOrSelf.SpecialType.IsValidTypeForAttributeArgument() OrElse 928type = type.GetEnumUnderlyingTypeOrSelf() 935Return type IsNot Nothing AndAlso (type.GetEnumUnderlyingTypeOrSelf().IsIntrinsicType())