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