35 references to UserDefined
Microsoft.CodeAnalysis.VisualBasic (35)
Binding\Binder_Conversions.vb (8)
447If (convKind.Key And ConversionKind.UserDefined) = 0 AndAlso 474Debug.Assert(argument.Kind <> BoundKind.ArrayLiteral OrElse (convKind.Key And ConversionKind.UserDefined) <> 0) 583If (convKind.Key And ConversionKind.UserDefined) <> 0 AndAlso convKind.Value IsNot Nothing Then 595Return New BoundConversion(tree, argument, convKind.Key And (Not ConversionKind.UserDefined), CheckOverflow, isExplicit, targetType, hasErrors:=True) 599If (convKind.Key And ConversionKind.UserDefined) <> 0 Then 683If (convKind And ConversionKind.UserDefined) <> 0 Then 985Debug.Assert(Conversions.ConversionExists(convKind) AndAlso (convKind And ConversionKind.UserDefined) = 0) 1097Debug.Assert((convKind.Key And ConversionKind.UserDefined) <> 0 AndAlso convKind.Value IsNot Nothing AndAlso
Binding\Binder_Expressions.vb (1)
1496Debug.Assert((conv And ConversionKind.UserDefined) = 0)
Binding\Binder_Invocation.vb (1)
3188If Not (convertedValue.Kind = BoundKind.Conversion AndAlso (DirectCast(convertedValue, BoundConversion).ConversionKind And ConversionKind.UserDefined) <> 0) Then
BoundTree\BoundConversion.vb (3)
44Debug.Assert((ConversionKind And VisualBasic.ConversionKind.UserDefined) = 0) 46Debug.Assert(((ConversionKind And VisualBasic.ConversionKind.UserDefined) <> 0) = (Operand.Kind = BoundKind.UserDefinedConversion)) 83If (ConversionKind And ConversionKind.UserDefined) <> 0 AndAlso
BoundTree\BoundUserDefinedConversion.vb (2)
58Debug.Assert(Conversions.ConversionExists(outConversion.ConversionKind) AndAlso (outConversion.ConversionKind And ConversionKind.UserDefined) = 0) 68Debug.Assert(Conversions.ConversionExists(inConversion.ConversionKind) AndAlso (inConversion.ConversionKind And ConversionKind.UserDefined) = 0)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_ConditionalExpresion.vb (3)
104If (conversion.ConversionKind And ConversionKind.UserDefined) = 0 Then 156conversionKind:=ConversionKind.Narrowing Or ConversionKind.UserDefined, 185Debug.Assert((conversion.ConversionKind And ConversionKind.UserDefined) <> 0)
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (1)
95If (conversion And ConversionKind.UserDefined) <> 0 Then
Lowering\LocalRewriter\LocalRewriter_AssignmentOperator.vb (1)
427Debug.Assert((conversionKind And ConversionKind.UserDefined) = 0)
Lowering\LocalRewriter\LocalRewriter_NullableHelpers.vb (1)
230Return (conversion.ConversionKind And (ConversionKind.Widening Or ConversionKind.Nullable Or ConversionKind.UserDefined)) = (ConversionKind.Widening Or ConversionKind.Nullable) AndAlso
Lowering\SyntheticBoundNodeFactory.vb (1)
1025Debug.Assert((convKind And ConversionKind.UserDefined) = 0)
Operations\VisualBasicOperationFactory_Methods.vb (1)
578If conversionKind.HasFlag(VisualBasic.ConversionKind.UserDefined) AndAlso conversion.Operand.Kind = BoundKind.UserDefinedConversion Then
Semantics\Conversions.vb (6)
196Return (_convKind And ConversionKind.UserDefined) <> 0 1420Debug.Assert(((conv.Key And ConversionKind.UserDefined) <> 0) = (conv.Value IsNot Nothing)) 1421Return (conv.Key And (Not (ConversionKind.UserDefined Or ConversionKind.Nullable Or ConversionKind.Tuple))) Or ConversionKind.Lambda Or conversionKindExpressionTree 1515Not ((convToNullableOfBoolean.Key And (ConversionKind.UserDefined Or ConversionKind.Nullable)) = 1516ConversionKind.UserDefined AndAlso 4092(typeConversion And ConversionKind.UserDefined) <> 0 Then
Semantics\Operators.vb (4)
1969result = New KeyValuePair(Of ConversionKind, MethodSymbol)(ConversionKind.Widening Or ConversionKind.UserDefined, bestMatch) 1979result = New KeyValuePair(Of ConversionKind, MethodSymbol)(ConversionKind.Narrowing Or ConversionKind.UserDefined, bestMatch) 2005ConversionKind.UserDefined Or 2013ConversionKind.UserDefined Or
Semantics\OverloadResolution.vb (2)
2764If (conv.Key And ConversionKind.UserDefined) = 0 Then 2899Debug.Assert((conv And ConversionKind.UserDefined) = 0)