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