a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
30 lines
474 B
C#
30 lines
474 B
C#
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;
|
|
}
|
|
|
|
}
|