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