17 references to ExplicitUserDefined
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Operators.cs (1)
3569
case ConversionKind.
ExplicitUserDefined
:
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)
67
case
ExplicitUserDefined
:
86
case
ExplicitUserDefined
:
Binder\Semantics\Conversions\UserDefinedImplicitConversions.cs (1)
636
case ConversionKind.
ExplicitUserDefined
:
CodeGen\EmitConversion.cs (1)
121
case ConversionKind.
ExplicitUserDefined
:
FlowAnalysis\NullableWalker.cs (3)
8660
case ConversionKind.
ExplicitUserDefined
:
8967
case ConversionKind.
ExplicitUserDefined
:
9405
Debug.Assert(conversion.Kind == ConversionKind.
ExplicitUserDefined
|| conversion.Kind == ConversionKind.ImplicitUserDefined);
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
695
case ConversionKind.
ExplicitUserDefined
:
705
!TypeSymbol.Equals(strippedOperandType, ((node.ConversionKind == ConversionKind.
ExplicitUserDefined
) ? conversionInputType : conversionInputType.StrippedType()), TypeCompareKind.ConsiderEverything2);
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
597
case ConversionKind.
ExplicitUserDefined
:
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
352
case ConversionKind.
ExplicitUserDefined
:
1131
var conversionKind = conversion.Kind.IsImplicitConversion() ? ConversionKind.ImplicitUserDefined : ConversionKind.
ExplicitUserDefined
;
1737
ConversionKind conversionKind = isImplicit ? ConversionKind.ImplicitUserDefined : ConversionKind.
ExplicitUserDefined
;
1756
case ConversionKind.
ExplicitUserDefined
: