2 references to IsCastSafeToRemove
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
57IsCastSafeToRemove(cast, cast.Left, semanticModel, cancellationToken); 116return IsCastSafeToRemove(cast, cast.Expression, semanticModel, cancellationToken);