22 lines
243 B
C#
22 lines
243 B
C#
|
using System;
|
||
|
|
||
|
public class Test
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
Foo fu = new Foo (null);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class Foo
|
||
|
{
|
||
|
public Foo (object o)
|
||
|
{
|
||
|
throw new ApplicationException ("wrong ctor");
|
||
|
}
|
||
|
|
||
|
public Foo (string s, params object[] args)
|
||
|
{
|
||
|
}
|
||
|
}
|