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)
3629case ConversionKind.ImplicitReference: 3881case 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)
659case 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)
2123case ConversionKind.ImplicitReference: 2783Debug.Assert(conversion.Kind is ConversionKind.Identity or ConversionKind.ImplicitReference); 5593case ConversionKind.ImplicitReference: 8619case ConversionKind.ImplicitReference: 9033goto case ConversionKind.ImplicitReference; 9035case ConversionKind.ImplicitReference: 11607case 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)
587case ConversionKind.ImplicitReference:
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (2)
207if (conversion.Kind is not (ConversionKind.Identity or ConversionKind.ImplicitReference)) 214return 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)
1509if (conversion.Kind == ConversionKind.ImplicitReference && arg.IsLiteralNull())