c042cd0c52
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
18 lines
268 B
C#
18 lines
268 B
C#
// CS0246: The type or namespace name `wrong' could not be found. Are you missing an assembly reference?
|
|
// Line: 15
|
|
|
|
using System;
|
|
|
|
class X
|
|
{
|
|
static void Foo<T> () where T : class
|
|
{
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Action a = () => {
|
|
Foo<wrong> ();
|
|
};
|
|
}
|
|
} |