67 references to GetNullableUnderlyingTypeOrSelf
Microsoft.CodeAnalysis.VisualBasic (67)
Binding\Binder_Conversions.vb (2)
1070Dim sourceElementTypes = sourceType.GetNullableUnderlyingTypeOrSelf().GetElementTypesOfTupleOrCompatible() 1071Dim targetElementTypes = targetType.GetNullableUnderlyingTypeOrSelf().GetElementTypesOfTupleOrCompatible()
Binding\Binder_Expressions.vb (3)
2161placeholder = New BoundRValuePlaceholder(testExpression.Syntax, testExpression.Type.GetNullableUnderlyingTypeOrSelf()) 3884type = type.GetNullableUnderlyingTypeOrSelf() 3906type = type.GetNullableUnderlyingTypeOrSelf()
Binding\Binder_Invocation.vb (1)
3208Dim paramNullableUnderlyingTypeOrSelf As TypeSymbol = param.Type.GetNullableUnderlyingTypeOrSelf()
Binding\Binder_Operators.vb (13)
335Debug.Assert(leftType.GetNullableUnderlyingTypeOrSelf().IsEnumType() AndAlso 336leftType.GetNullableUnderlyingTypeOrSelf().IsSameTypeIgnoringAll(rightType.GetNullableUnderlyingTypeOrSelf())) 399If operandType.GetNullableUnderlyingTypeOrSelf().IsErrorType() OrElse 400operatorResultType.GetNullableUnderlyingTypeOrSelf().IsErrorType() OrElse 401(forceToBooleanType IsNot Nothing AndAlso forceToBooleanType.GetNullableUnderlyingTypeOrSelf().IsErrorType()) Then 781test = ApplyNullableIsTrueOperator(testOp, checkCandidate.ReturnType.GetNullableUnderlyingTypeOrSelf()) 847Dim leftNullableUnderlying = leftType.GetNullableUnderlyingTypeOrSelf() 849Dim rightNullableUnderlying = rightType.GetNullableUnderlyingTypeOrSelf() 1074If rightType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf().IsIntrinsicType() OrElse 1114If leftType.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf().IsIntrinsicType() OrElse 1189Debug.Assert(operandType.GetNullableUnderlyingTypeOrSelf().IsEnumType()) 1193If operandType.GetNullableUnderlyingTypeOrSelf().SpecialType = intrinsicOperatorType Then
Binding\Binder_Statements.vb (2)
3304left.Type.GetNullableUnderlyingTypeOrSelf(), 3309left.Type.GetNullableUnderlyingTypeOrSelf(),
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_BinaryOperator.vb (9)
201Dim resultNotNullableType As TypeSymbol = resultType.GetNullableUnderlyingTypeOrSelf 240Dim operandNotNullableType As TypeSymbol = operandType.GetNullableUnderlyingTypeOrSelf 385Dim resultNotNullableType As TypeSymbol = resultType.GetNullableUnderlyingTypeOrSelf 542Debug.Assert(Not resultType.GetNullableUnderlyingTypeOrSelf().IsEnumType) 543Dim shiftMask As Integer = CodeGen.CodeGenerator.GetShiftSizeMask(resultType.GetNullableUnderlyingTypeOrSelf()) 597Dim isInt32 As Boolean = shiftedType.GetNullableUnderlyingTypeOrSelf.SpecialType = SpecialType.System_Int32 725Debug.Assert(TypeSymbol.Equals(oldArg.Type.GetNullableUnderlyingTypeOrSelf(), parameterType, TypeCompareKind.ConsiderEverything)) 770Debug.Assert(resultType.GetNullableUnderlyingTypeOrSelf(). 771IsSameTypeIgnoringAll(methodReturnType.GetNullableUnderlyingTypeOrSelf))
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (2)
200Debug.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\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
799Return type.GetNullableUnderlyingTypeOrSelf.GetEnumUnderlyingTypeOrSelf
Lowering\LocalRewriter\LocalRewriter_ConditionalExpressions.vb (3)
141testExpressionType.GetNullableUnderlyingTypeOrSelf) 144Debug.Assert(node.TestExpressionPlaceholder Is Nothing OrElse TypeSymbol.Equals(node.TestExpressionPlaceholder.Type, testExpressionType.GetNullableUnderlyingTypeOrSelf, TypeCompareKind.ConsiderEverything)) 153testExpressionType.GetNullableUnderlyingTypeOrSelf),
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (1)
530Dim unwrappedResultType = resultType.GetNullableUnderlyingTypeOrSelf
Semantics\Conversions.vb (5)
523Dim sourceNullableUnderlying = source.GetNullableUnderlyingTypeOrSelf() 526Dim targetNullableUnderlying = target.GetNullableUnderlyingTypeOrSelf() 1592Dim targetDestinationType As TypeSymbol = destination.GetNullableUnderlyingTypeOrSelf() 1678Dim underlyingDestination = destination.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 1681Debug.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)
1395If parameterType.GetNullableUnderlyingTypeOrSelf().TryGetElementTypesIfTupleOrCompatible(parameterElementTypes) AndAlso 1396If(parameterType.IsNullableType(), argumentType.GetNullableUnderlyingTypeOrSelf(), argumentType).
Symbols\TypeSymbolExtensions.vb (2)
502Dim underlyingType As TypeSymbol = this.GetNullableUnderlyingTypeOrSelf().GetEnumUnderlyingTypeOrSelf() 927type = type.GetNullableUnderlyingTypeOrSelf()