a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
11 lines
187 B
C#
11 lines
187 B
C#
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T'
|
|
// Line: 8
|
|
|
|
class X
|
|
{
|
|
public static void Foo<T> (T t)
|
|
{
|
|
object o = sizeof (T);
|
|
}
|
|
}
|