20 references to WideningReference
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Conversions.vb (1)
1053
If (convKind = ConversionKind.
WideningReference
OrElse convKind = ConversionKind.NarrowingReference) AndAlso
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
213
ConversionKind.
WideningReference
, objectType, Nothing).MakeCompilerGenerated(),
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
460
New BoundDirectCast(syntaxNode, parameterExpr.MakeRValue(), ConversionKind.
WideningReference
, obj, Nothing),
Lowering\SyntheticBoundNodeFactory.vb (1)
1018
Return Convert(type, arg, ConversionKind.
WideningReference
, isChecked) ' will abort before code gen due to error, so doesn't matter if conversion kind is wrong.
Semantics\Conversions.vb (8)
484
Const IRF As Integer = ConversionKind.
WideningReference
899
(conversion And ConversionKind.
WideningReference
) = ConversionKind.
WideningReference
OrElse
2352
Return ConversionKind.
WideningReference
2410
Return ConversionKind.
WideningReference
2455
Return ConversionKind.
WideningReference
2497
Return ConversionKind.
WideningReference
2503
Return ConversionKind.
WideningReference
Or (conv And ConversionKind.InvolvesEnumTypeConversions)
Symbols\Source\SynthesizedEventAccessorSymbol.vb (8)
333
Debug.Assert(conversionKind1 = ConversionKind.
WideningReference
)
334
Debug.Assert(conversionKind2 = ConversionKind.
WideningReference
)
344
New BoundDirectCast(syntax, boundBackingField.MakeRValue(), ConversionKind.
WideningReference
, updateMethod.Parameters(0).Type),
345
New BoundDirectCast(syntax, boundParameter, ConversionKind.
WideningReference
, updateMethod.Parameters(1).Type)),
410
Debug.Assert(conversionKind1 = ConversionKind.
WideningReference
)
411
Debug.Assert(conversionKind2 = ConversionKind.
WideningReference
)
421
New BoundDirectCast(syntax, boundTmps(1).MakeRValue(), ConversionKind.
WideningReference
, updateMethod.Parameters(0).Type),
422
New BoundDirectCast(syntax, boundParameter, ConversionKind.
WideningReference
, updateMethod.Parameters(1).Type)),