51 references to Widening
Microsoft.CodeAnalysis.VisualBasic (51)
Binding\Binder_Conversions.vb (1)
1452Dim anonymousDelegateInstance = New BoundConversion(tree, boundLambda, ConversionKind.Widening Or ConversionKind.Lambda,
Binding\Binder_Delegates.vb (1)
330delegateConversions = delegateConversions Or ConversionKind.Widening
Binding\Binder_Expressions.vb (1)
130Dim reclassified = ReclassifyArrayLiteralExpression(SyntaxKind.CTypeKeyword, arrayLiteral.Syntax, ConversionKind.Widening, False, arrayLiteral, arrayLiteral.InferredType, diagnostics)
Binding\Binder_Operators.vb (1)
824dbNullOperand = New BoundConversion(dbNullOperand.Syntax, dbNullOperand, ConversionKind.Widening,
Lowering\LocalRewriter\LocalRewriter_DelegateCreation.vb (1)
45ConversionKind.Lambda Or ConversionKind.Widening,
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (2)
230Return (conversion.ConversionKind And (ConversionKind.Widening Or ConversionKind.Nullable Or ConversionKind.UserDefined)) = (ConversionKind.Widening Or ConversionKind.Nullable) AndAlso
Semantics\Conversions.vb (41)
312Identity = [Widening] Or 1 << 2 ' According to VB spec, identity conversion is Widening 315WideningNumeric = [Widening] Or Numeric 322WideningNullable = [Widening] Or Nullable 326WideningReference = [Widening] Or Reference 330WideningArray = [Widening] Or Array 334WideningTypeParameter = [Widening] Or TypeParameter 338WideningValue = [Widening] Or Value 342WideningString = [Widening] Or [String] 349WideningNothingLiteral = [Widening] Or (1 << 11) 401InterpolatedString = [Widening] Or (1 << 25) 408WideningTuple = [Widening] Or Tuple 606conv = (conv And Not ConversionKind.Identity) Or ConversionKind.Widening Or ConversionKind.Numeric 619conv = (conv And Not ConversionKind.Widening) Or ConversionKind.Narrowing Or ConversionKind.InvolvesEnumTypeConversions 1136If(IsNarrowingMethodConversion(bound.MethodConversionKind, isForAddressOf:=False), ConversionKind.Narrowing, ConversionKind.Widening) Or 1321Dim result = ConversionKind.Widening 1416Return conv.Key And (Not ConversionKind.Identity) Or (ConversionKind.Widening Or ConversionKind.Lambda) Or conversionKindExpressionTree 1425Return ConversionKind.Widening Or ConversionKind.Lambda Or conversionKindExpressionTree 1513Return New KeyValuePair(Of ConversionKind, MethodSymbol)(ConversionKind.Widening, Nothing) 1582Return (ConversionKind.Widening Or ConversionKind.Lambda) 1646conv = (conv And (Not ConversionKind.Narrowing)) Or ConversionKind.Widening 2179newConv = (newConv And Not ConversionKind.Narrowing) Or ConversionKind.Widening 2386Debug.Assert((conv And Not (ConversionKind.Widening Or ConversionKind.Narrowing Or 2424Debug.Assert((conv And Not (ConversionKind.Widening Or ConversionKind.Narrowing Or 2539Const validBits As ConversionKind = (ConversionKind.Widening Or ConversionKind.Narrowing Or 2556Return (backwardConv And Not (ConversionKind.Widening Or ConversionKind.NarrowingDueToContraVarianceInDelegate)) Or ConversionKind.Narrowing 2573Return ConversionKind.Widening 2578(_conv = ConversionKind.Widening OrElse 2580_conv = (ConversionKind.Widening Or ConversionKind.InvolvesEnumTypeConversions) OrElse 2663Const validNonidentityBits As ConversionKind = (ConversionKind.Widening Or ConversionKind.Narrowing Or 2853Return ConversionKind.Widening Or involvesEnumTypeConversions 2982Return ConversionKind.AnonymousDelegate Or ConversionKind.Widening Or additionalFlags 3418Debug.Assert((conv And Not (ConversionKind.Widening Or ConversionKind.Narrowing Or 3885Debug.Assert((conv And Not (ConversionKind.Widening Or ConversionKind.Narrowing Or 4441((conv And ConversionKind.Widening) <> 0) <> ((conv And ConversionKind.Narrowing) <> 0)) 4442Return (conv And ConversionKind.Widening) <> 0 4447((conv And ConversionKind.Widening) <> 0) <> ((conv And ConversionKind.Narrowing) <> 0)) 4452Return (conv And (ConversionKind.Narrowing Or ConversionKind.Widening)) = 0 4456Return (conv And (ConversionKind.Narrowing Or ConversionKind.Widening)) <> 0 4461((conv And ConversionKind.Widening) <> 0) <> ((conv And ConversionKind.Narrowing) <> 0)) 4466Return (conv And (ConversionKind.Narrowing Or ConversionKind.Widening Or ConversionKind.FailedDueToNumericOverflow)) = ConversionKind.FailedDueToNumericOverflow 4470Return (conv And (ConversionKind.Narrowing Or ConversionKind.Widening Or ConversionKind.FailedDueToQueryLambdaBodyMismatch)) = ConversionKind.FailedDueToQueryLambdaBodyMismatch
Semantics\Operators.vb (2)
1969result = New KeyValuePair(Of ConversionKind, MethodSymbol)(ConversionKind.Widening Or ConversionKind.UserDefined, bestMatch) 2004result = New KeyValuePair(Of ConversionKind, MethodSymbol)(ConversionKind.Widening Or
Semantics\TypeInference\TypeInferenceCollection.vb (1)
494conversion = ConversionKind.Widening