20 references to WideningReference
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_Conversions.vb (1)
1053If (convKind = ConversionKind.WideningReference OrElse convKind = ConversionKind.NarrowingReference) AndAlso
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (1)
213ConversionKind.WideningReference, objectType, Nothing).MakeCompilerGenerated(),
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
460New BoundDirectCast(syntaxNode, parameterExpr.MakeRValue(), ConversionKind.WideningReference, obj, Nothing),
Lowering\SyntheticBoundNodeFactory.vb (1)
1018Return 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)
484Const IRF As Integer = ConversionKind.WideningReference 899(conversion And ConversionKind.WideningReference) = ConversionKind.WideningReference OrElse 2352Return ConversionKind.WideningReference 2410Return ConversionKind.WideningReference 2455Return ConversionKind.WideningReference 2497Return ConversionKind.WideningReference 2503Return ConversionKind.WideningReference Or (conv And ConversionKind.InvolvesEnumTypeConversions)
Symbols\Source\SynthesizedEventAccessorSymbol.vb (8)
333Debug.Assert(conversionKind1 = ConversionKind.WideningReference) 334Debug.Assert(conversionKind2 = ConversionKind.WideningReference) 344New BoundDirectCast(syntax, boundBackingField.MakeRValue(), ConversionKind.WideningReference, updateMethod.Parameters(0).Type), 345New BoundDirectCast(syntax, boundParameter, ConversionKind.WideningReference, updateMethod.Parameters(1).Type)), 410Debug.Assert(conversionKind1 = ConversionKind.WideningReference) 411Debug.Assert(conversionKind2 = ConversionKind.WideningReference) 421New BoundDirectCast(syntax, boundTmps(1).MakeRValue(), ConversionKind.WideningReference, updateMethod.Parameters(0).Type), 422New BoundDirectCast(syntax, boundParameter, ConversionKind.WideningReference, updateMethod.Parameters(1).Type)),