[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git] / mcs / errors / cs0619-40.cs
1 // CS0619-40: `C.ob' is obsolete: `ooo'
2 // Line: 13
3
4 using System;
5
6 class C
7 {
8         [Obsolete("ooo", true)]
9         const int ob = 4;
10
11         public void Test (int arg)
12         {
13                 switch (arg) {
14                         case ob: return;
15                 }
16         }
17 }