Linker.Steps\UnreachableBlocksOptimizer.cs (11)
314 if (!GetConstantValue (arguments[0], out left) ||
315 !GetConstantValue (arguments[1], out right))
960 if (i > 0 && GetConstantValue (FoldedInstructions[i - 1], out var operand)) {
984 if (i >= 3 && GetConstantValue (FoldedInstructions[i - 3], out operand) && operand is int opint2 && IsPairedStlocLdloc (FoldedInstructions[i - 2], FoldedInstructions[i - 1])) {
998 if (i >= 5 && opcode == OpCodes.Switch && GetConstantValue (FoldedInstructions[i - 5], out operand) && operand is int opint3 && IsPairedStlocLdloc (FoldedInstructions[i - 4], FoldedInstructions[i - 3])) {
1002 if (!GetConstantValue (FoldedInstructions[i - 2], out operand) || operand is not int offset)
1214 return GetConstantValue (FoldedInstructions[index - 2], out left) &&
1215 GetConstantValue (FoldedInstructions[index - 1], out right);
1979 return GetConstantValue (instr, out value);
2000 if (!GetConstantValue (instr, out left)) {
2015 return GetConstantValue (instr, out right);