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