2 references to IsCastSafeToRemove
Microsoft.CodeAnalysis.CSharp.CodeStyle (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);