33 references to ImplicitReference
Microsoft.CodeAnalysis.CSharp (33)
Binder\Binder_Conversions.cs (1)
280if (conversion.Kind is ConversionKind.ImplicitReference or ConversionKind.ExplicitReference &&
Binder\Binder_Operators.cs (2)
3624case ConversionKind.ImplicitReference: 3876case ConversionKind.ImplicitReference:
Binder\Binder_Patterns.cs (1)
696else if ((conversion.ConversionKind == ConversionKind.Boxing || conversion.ConversionKind == ConversionKind.ImplicitReference)
Binder\Semantics\Conversions\Conversion.cs (3)
225case ConversionKind.ImplicitReference: 271internal static Conversion ImplicitReference => new Conversion(ConversionKind.ImplicitReference); 822return Kind == ConversionKind.ImplicitReference || Kind == ConversionKind.ExplicitReference;
Binder\Semantics\Conversions\ConversionEasyOut.cs (1)
24const byte IRF = (byte)ConversionKind.ImplicitReference;
Binder\Semantics\Conversions\ConversionKindExtensions.cs (1)
35case ImplicitReference:
Binder\Semantics\Conversions\ConversionsBase.cs (3)
592case ConversionKind.ImplicitReference: 896case ConversionKind.ImplicitReference: 2009case ConversionKind.ImplicitReference:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
654case ConversionKind.ImplicitReference:
BoundTree\BoundExpression.cs (1)
501case ConversionKind.ImplicitReference:
CodeGen\EmitConversion.cs (1)
102case ConversionKind.ImplicitReference:
CodeGen\EmitExpression.cs (1)
1550case ConversionKind.ImplicitReference:
FlowAnalysis\NullableWalker.cs (7)
2062case ConversionKind.ImplicitReference: 2722Debug.Assert(conversion.Kind is ConversionKind.Identity or ConversionKind.ImplicitReference); 5532case ConversionKind.ImplicitReference: 8561case ConversionKind.ImplicitReference: 8975goto case ConversionKind.ImplicitReference; 8977case ConversionKind.ImplicitReference: 11549case ConversionKind.ImplicitReference:
FlowAnalysis\NullableWalker_Patterns.cs (2)
467case ConversionKind.ImplicitReference: 766ConversionKind.ImplicitReference => true,
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
718case ConversionKind.ImplicitReference:
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
485(conv.IsIdentity || conv.Kind == ConversionKind.ImplicitReference || conv.IsBoxing) &&
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
588case ConversionKind.ImplicitReference:
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
204if (conversion.Kind is not (ConversionKind.Identity or ConversionKind.ImplicitReference)) 211return conversion.Kind is ConversionKind.Identity or ConversionKind.ImplicitReference;
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
408case ConversionKind.ImplicitReference:
Lowering\LocalRewriter\LocalRewriter_NullCoalescingOperator.cs (1)
92BoundNode.GetConversion(leftConversion, leftPlaceholder) is { Kind: ConversionKind.Identity or ConversionKind.ImplicitReference })
Lowering\SyntheticBoundNodeFactory.cs (1)
1501if (conversion.Kind == ConversionKind.ImplicitReference && arg.IsLiteralNull())