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