a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
322 B
C#
17 lines
322 B
C#
// CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `short'
|
|
// Line: 12
|
|
// Compiler options: /warn:2 /warnaserror
|
|
|
|
using System;
|
|
|
|
public class CS0652 {
|
|
|
|
public static void Main ()
|
|
{
|
|
short value = 5;
|
|
if (value > char.MaxValue)
|
|
return;
|
|
}
|
|
}
|
|
|