19 references to ImplicitUserDefined
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Operators.cs (1)
3563
case ConversionKind.
ImplicitUserDefined
:
Binder\Semantics\Conversions\Conversion.cs (2)
151
: isImplicit ? ConversionKind.
ImplicitUserDefined
: ConversionKind.ExplicitUserDefined;
195
Debug.Assert(_kind is ConversionKind.MethodGroup or ConversionKind.IntPtr or ConversionKind.
ImplicitUserDefined
or ConversionKind.ExplicitUserDefined);
Binder\Semantics\Conversions\ConversionKindExtensions.cs (2)
39
case
ImplicitUserDefined
:
85
case
ImplicitUserDefined
:
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1014
case ConversionKind.
ImplicitUserDefined
:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
630
case ConversionKind.
ImplicitUserDefined
:
Binder\SwitchBinder.cs (1)
417
Debug.Assert(conversion.Kind == ConversionKind.
ImplicitUserDefined
);
CodeGen\EmitConversion.cs (1)
120
case ConversionKind.
ImplicitUserDefined
:
FlowAnalysis\NullableWalker.cs (4)
7368
if (conversion is { IsValid: true, Kind: ConversionKind.
ImplicitUserDefined
})
8601
case ConversionKind.
ImplicitUserDefined
:
8910
case ConversionKind.
ImplicitUserDefined
:
9347
Debug.Assert(conversion.Kind == ConversionKind.ExplicitUserDefined || conversion.Kind == ConversionKind.
ImplicitUserDefined
);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
696
case ConversionKind.
ImplicitUserDefined
:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
599
case ConversionKind.
ImplicitUserDefined
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
353
case ConversionKind.
ImplicitUserDefined
:
1131
var conversionKind = conversion.Kind.IsImplicitConversion() ? ConversionKind.
ImplicitUserDefined
: ConversionKind.ExplicitUserDefined;
1737
ConversionKind conversionKind = isImplicit ? ConversionKind.
ImplicitUserDefined
: ConversionKind.ExplicitUserDefined;
1757
case ConversionKind.
ImplicitUserDefined
: