2 references to IsUnnecessaryCast
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Simplification\Reducers\CSharpCastReducer.cs (1)
33if (!CastSimplifier.IsUnnecessaryCast(node, semanticModel, cancellationToken))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
48CastExpressionSyntax castExpression => IsUnnecessaryCast(castExpression, semanticModel, cancellationToken),