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

test-256.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 17e7d9c478a542899f7c584c1b4c96b1399fa734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;

[AttributeUsage( AttributeTargets.Property, AllowMultiple=false,
Inherited=true )]
public class TableColumn : Attribute
{
	public object MagicValue 
	{
                get { return null; }
		set { }
	}
        
        public object Value2;
}
        
class Bug
{
    [TableColumn(MagicValue=2,Value2=0)] 
    public int TInt 
    {
         get { return 0; }
    }    
    
    public static void Main ()
    {
        const object o = null;       
    }

}