8 references to IsImplicitConversion
Microsoft.CodeAnalysis.CSharp (8)
Binder\Semantics\Conversions\Conversion.cs (1)
618
return Kind.
IsImplicitConversion
();
CodeGen\EmitExpression.cs (1)
3923
if (conversionKind.
IsImplicitConversion
() &&
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
537
conversion.ConversionKind.
IsImplicitConversion
() &&
Lowering\DiagnosticsPass_Warnings.cs (1)
167
if (conversion == null || !conversion.ConversionKind.
IsImplicitConversion
())
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (2)
436
return RewriteDecimalConversion(syntax, rewrittenOperand, rewrittenOperand.Type, rewrittenType, @checked, conversion.Kind.
IsImplicitConversion
(), constantValueOpt);
1131
var conversionKind = conversion.Kind.
IsImplicitConversion
() ? ConversionKind.ImplicitUserDefined : ConversionKind.ExplicitUserDefined;
Lowering\LocalRewriter\LocalRewriter_IsOperator.cs (1)
69
else if (conversionKind.
IsImplicitConversion
())
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1021
else if (!compilation.Conversions.ClassifyConversionFromType((TypeSymbol)arg.TypeInternal, this.Type, isChecked: false, ref useSiteInfo).Kind.
IsImplicitConversion
())