2 references to IsConstantZero
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
125
if (leftOrRightChild == binary.Left &&
IsConstantZero
(binary.Right) ||
126
leftOrRightChild == binary.Right &&
IsConstantZero
(binary.Left))