4 references to ClassifyConversion
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (1)
146var firstConversion = semanticFacts.ClassifyConversion(semanticModel, castedExpression, castType);
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
156&& semanticFacts.ClassifyConversion(semanticModel, argumentExpression, paramsType.ElementType).Exists) 162else if (semanticFacts.ClassifyConversion(semanticModel, argumentExpression, parameterType).Exists)
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (1)
122var conversion = semanticFacts.ClassifyConversion(semanticModel, expression, constructorParameter.Type);