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