Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0675.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1223911549bcbc4206cbbd4fe0913ff07b4ec708 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0675: The operator `|' used on the sign-extended type `int'. Consider casting to a smaller unsigned type first
// Line: 11
// Compiler options: -warnaserror -warn:3

public class C
{
   public static void Main()
   {
      int x = 1;
      int y = 1;
      long value = (((long)x) << 32) | y;
   }
}