20 references to UserDefinedConversionResultKind
Microsoft.CodeAnalysis.CSharp (20)
Binder\Semantics\Conversions\Conversion.cs (12)
149_kind = conversionResult.Kind == UserDefinedConversionResultKind.NoApplicableOperators 153_uncommonData = conversionResult.Kind == UserDefinedConversionResultKind.NoApplicableOperators && conversionResult.Results.IsEmpty 492if (conversionResult.Kind == UserDefinedConversionResultKind.Valid) 518if (conversionResult.Kind == UserDefinedConversionResultKind.Valid) 589(_uncommonData as MethodUncommonData)?._conversionResult.Kind == UserDefinedConversionResultKind.Valid; 1052case UserDefinedConversionResultKind.Valid: 1054case UserDefinedConversionResultKind.Ambiguous: 1055case UserDefinedConversionResultKind.NoBestSourceType: 1056case UserDefinedConversionResultKind.NoBestTargetType: 1058case UserDefinedConversionResultKind.NoApplicableOperators: 1114if (_uncommonData is MethodUncommonData { _conversionResult: { Kind: not UserDefinedConversionResultKind.NoApplicableOperators } conversionResult }) 1132if (_uncommonData is MethodUncommonData { _conversionResult: { Kind: UserDefinedConversionResultKind.Valid } conversionResult })
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1738if (result.Kind == UserDefinedConversionResultKind.Valid)
Binder\Semantics\Conversions\UserDefinedConversionResult.cs (7)
27public readonly UserDefinedConversionResultKind Kind; 32UserDefinedConversionResultKind.NoApplicableOperators, 40UserDefinedConversionResultKind.NoBestSourceType, 48UserDefinedConversionResultKind.NoBestTargetType, 56UserDefinedConversionResultKind.Ambiguous, 64UserDefinedConversionResultKind.Valid, 70UserDefinedConversionResultKind kind,