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