blob: a0127ab9e20fe2fa8fa309c970aa1658f53661d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `T'
// Line: 7
// Compiler options: -unsafe
unsafe class Foo<T> where T : struct
{
public T* Elements {
get {
return null;
}
}
}
|