summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-14.cs
blob: a28400189d051abd4aad6e137b37a2084473ee7d (plain)
1
2
3
4
5
6
7
8
9
10
// 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);
	}
}