69 references to GetNullableUnderlyingTypeOrSelf
Microsoft.CodeAnalysis.VisualBasic (69)
Binding\Binder_Conversions.vb (2)
1057Dim sourceElementTypes = sourceType.GetNullableUnderlyingTypeOrSelf().GetElementTypesOfTupleOrCompatible() 1058Dim targetElementTypes = targetType.GetNullableUnderlyingTypeOrSelf().GetElementTypesOfTupleOrCompatible()
Binding\Binder_Expressions.vb (3)
2136placeholder = New BoundRValuePlaceholder(testExpression.Syntax, testExpression.Type.GetNullableUnderlyingTypeOrSelf()) 3853type = type.GetNullableUnderlyingTypeOrSelf() 3875type = type.GetNullableUnderlyingTypeOrSelf()
Binding\Binder_Invocation.vb (1)
3214Dim paramNullableUnderlyingTypeOrSelf As TypeSymbol = param.Type.GetNullableUnderlyingTypeOrSelf()
Binding\Binder_Operators.vb (13)
305Debug.Assert(leftType.GetNullableUnderlyingTypeOrSelf().IsEnumType() AndAlso 306leftType.GetNullableUnderlyingTypeOrSelf().IsSameTypeIgnoringAll(rightType.GetNullableUnderlyingTypeOrSelf())) 369If operandType.GetNullableUnderlyingTypeOrSelf().IsErrorType() OrElse 370operatorResultType.GetNullableUnderlyingTypeOrSelf().IsErrorType() OrElse 371(forceToBooleanType IsNot Nothing AndAlso forceToBooleanType.GetNullableUnderlyingTypeOrSelf().IsErrorType()) Then 751test = ApplyNullableIsTrueOperator(testOp, checkCandidate.ReturnType.GetNullableUnderlyingTypeOrSelf()) 817Dim leftNullableUnderlying = leftType.GetNullableUnderlyingTypeOrSelf() 819Dim rightNullableUnderlying = rightType.GetNullableUnderlyingTypeOrSelf() 1044If rightType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf().IsIntrinsicType() OrElse 1084If leftType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf().IsIntrinsicType() OrElse 1159Debug.Assert(operandType.GetNullableUnderlyingTypeOrSelf().IsEnumType()) 1163If operandType.GetNullableUnderlyingTypeOrSelf().SpecialType = intrinsicOperatorType Then
Binding\Binder_Statements.vb (2)
3275left.Type.GetNullableUnderlyingTypeOrSelf(), 3280left.Type.GetNullableUnderlyingTypeOrSelf(),
BoundTree\BoundBinaryConditionalExpression.vb (2)
37Debug.Assert(TestExpressionPlaceholder.Type.IsSameTypeIgnoringAll(TestExpression.Type.GetNullableUnderlyingTypeOrSelf())) 40If Not Type.IsSameTypeIgnoringAll(TestExpression.Type.GetNullableUnderlyingTypeOrSelf()) Then
BoundTree\BoundBinaryOperator.vb (3)
43Dim leftType = TryCast(Left.Type.GetNullableUnderlyingTypeOrSelf(), NamedTypeSymbol) 57Right.Type.GetNullableUnderlyingTypeOrSelf(), 58Type.GetNullableUnderlyingTypeOrSelf())
BoundTree\BoundUnaryOperator.vb (2)
36Dim operandType = TryCast(Operand.Type.GetNullableUnderlyingTypeOrSelf(), NamedTypeSymbol) 46Type.GetNullableUnderlyingTypeOrSelf())
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
764Return type.GetNullableUnderlyingTypeOrSelf.GetEnumUnderlyingTypeOrSelf
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_BinaryOperator.vb (9)
137Dim resultNotNullableType As TypeSymbol = resultType.GetNullableUnderlyingTypeOrSelf 176Dim operandNotNullableType As TypeSymbol = operandType.GetNullableUnderlyingTypeOrSelf 311Dim resultNotNullableType As TypeSymbol = resultType.GetNullableUnderlyingTypeOrSelf 418Debug.Assert(Not resultType.GetNullableUnderlyingTypeOrSelf().IsEnumType) 419Dim shiftMask As Integer = CodeGen.CodeGenerator.GetShiftSizeMask(resultType.GetNullableUnderlyingTypeOrSelf()) 471Dim isInt32 As Boolean = shiftedType.GetNullableUnderlyingTypeOrSelf.SpecialType = SpecialType.System_Int32 643Debug.Assert(TypeSymbol.Equals(oldArg.Type.GetNullableUnderlyingTypeOrSelf(), parameterType, TypeCompareKind.ConsiderEverything)) 688Debug.Assert(resultType.GetNullableUnderlyingTypeOrSelf(). 689IsSameTypeIgnoringAll(methodReturnType.GetNullableUnderlyingTypeOrSelf))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (2)
197Debug.Assert(TypeSymbol.Equals(expectedParameterType.GetNullableUnderlyingTypeOrSelf, realParameterType.GetNullableUnderlyingTypeOrSelf, TypeCompareKind.ConsiderEverything))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (3)
61Dim notNullableTo As TypeSymbol = typeTo.GetNullableUnderlyingTypeOrSelf 135Dim notNullableTo As TypeSymbol = typeTo.GetNullableUnderlyingTypeOrSelf() 138Dim notNullableFrom As TypeSymbol = typeFrom.GetNullableUnderlyingTypeOrSelf()
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_UnaryOperator.vb (1)
24Dim origArgNotNullableType As TypeSymbol = origArgType.GetNullableUnderlyingTypeOrSelf
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (3)
146testExpressionType.GetNullableUnderlyingTypeOrSelf) 149Debug.Assert(node.TestExpressionPlaceholder Is Nothing OrElse TypeSymbol.Equals(node.TestExpressionPlaceholder.Type, testExpressionType.GetNullableUnderlyingTypeOrSelf, TypeCompareKind.ConsiderEverything)) 158testExpressionType.GetNullableUnderlyingTypeOrSelf),
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
530Dim unwrappedResultType = resultType.GetNullableUnderlyingTypeOrSelf
Semantics\Conversions.vb (5)
519Dim sourceNullableUnderlying = source.GetNullableUnderlyingTypeOrSelf() 522Dim targetNullableUnderlying = target.GetNullableUnderlyingTypeOrSelf() 1588Dim targetDestinationType As TypeSymbol = destination.GetNullableUnderlyingTypeOrSelf() 1674Dim underlyingDestination = destination.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 1677Debug.Assert(sourceType.AllowsCompileTimeConversions() AndAlso destination.GetNullableUnderlyingTypeOrSelf().AllowsCompileTimeConversions())
Semantics\Operators.vb (12)
359If method.Parameters(1).Type.GetNullableUnderlyingTypeOrSelf().SpecialType <> Microsoft.CodeAnalysis.SpecialType.System_Int32 Then 431sourceType.GetNullableUnderlyingTypeOrSelf() Is targetType.GetNullableUnderlyingTypeOrSelf()) Then 473Return TypeSymbol.Equals(typeFromSignature.GetNullableUnderlyingTypeOrSelf().GetTupleUnderlyingTypeOrSelf(), containingType.GetTupleUnderlyingTypeOrSelf(), TypeCompareKind.ConsiderEverything) 514Dim nullableUnderlying = operandType.GetNullableUnderlyingTypeOrSelf() 873Dim leftNullableUnderlying = leftType.GetNullableUnderlyingTypeOrSelf() 875Dim rightNullableUnderlying = rightType.GetNullableUnderlyingTypeOrSelf() 897leftType.GetNullableUnderlyingTypeOrSelf().IsDateTimeType() AndAlso 898rightType.GetNullableUnderlyingTypeOrSelf().IsDateTimeType()) Then ' Let (Date - Date) use operator overloading. 987Dim leftEnumUnderlying = leftType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 988Dim rightEnumUnderlying = rightType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 2943type = type.GetNullableUnderlyingTypeOrSelf()
Semantics\TypeInference\TypeArgumentInference.vb (2)
1400If parameterType.GetNullableUnderlyingTypeOrSelf().TryGetElementTypesIfTupleOrCompatible(parameterElementTypes) AndAlso 1401If(parameterType.IsNullableType(), argumentType.GetNullableUnderlyingTypeOrSelf(), argumentType).
Symbols\TypeSymbolExtensions.vb (2)
502Dim underlyingType As TypeSymbol = this.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 927type = type.GetNullableUnderlyingTypeOrSelf()