<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0208</ErrorName>
  <Examples>
    <string>// cs0208-2.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `cs208.Foo'
// Line: 20
// Compiler options: -unsafe

namespace cs208
{
	public class Foo
	{
	}

	public class Bar
	{
		unsafe static void Main ()
		{			
			Foo f = new Foo ();
			Foo *s = &amp;f;
		}
	}
}
</string>
    <string>// cs0208-3.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo.P'
// Line: 18
// Compiler options: -unsafe

public unsafe class Foo
{
        public class P
        {
            public P* GetEnumerator ()
            {
                return null;
            }
        }
       
        public static void Main ()
        {
            P o = new P ();
            foreach (P p in o)
            {
            }
        }
}
</string>
    <string>// cs0208-4.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `object'
// Line: 11
// Compiler options: -unsafe

using System;
using System.Runtime.InteropServices;

class C
{
	[DllImport ("xml2")]
	unsafe static extern object* valuePop (IntPtr context);
	public static void Main ()
	{
	}
}
</string>
    <string>// cs0208-5.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
// Line: 8
// Compiler options: -unsafe

unsafe struct X {
	string a;
	static void Main () {
		X* y;
	}
}

</string>
    <string>// cs0208-6.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `X'
// Line: 8
// Compiler options: -unsafe

unsafe struct X {
	string a;
	static void Main () {
		X x;
		void* y = &amp;x;
	}
}

</string>
    <string>// cs0208-7.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `foo'
// Line: 11
// Compiler options: -unsafe

struct foo {
	public delegate void bar (int x);
	public bar barf;
}

unsafe class t {
	static void Main () {
		foo *f = null;
	}
}
</string>
    <string>// cs0208-8.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `_Port'
// Line: 16
// Compiler options: -unsafe

using System.Runtime.InteropServices;

[StructLayout(LayoutKind.Sequential)]
internal unsafe struct _Port {
	[MarshalAs(UnmanagedType.ByValTStr, SizeConst=128)] char[] port;
}

unsafe class d {
	static void Main ()
	{
		_Port * port = null;
	}
}
</string>
    <string>// cs0208-9.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo'
// Line: 7
// Compiler options: -t:library -unsafe

public unsafe struct Foo
{
        public Foo *foo;
	string x;
}


</string>
    <string>// cs0208.cs: Cannot take the address of, get the size of, or declare a pointer to a managed type `cs208.Foo'
// Line: 20
// Compiler options: -unsafe

namespace cs208
{
	public class Foo
	{
		public int Add (int a, int b)
		{
			return a + b;
		}
	}

	public class Bar
	{
		unsafe static void Main ()
		{			
			Foo f = new Foo ();
			void *s = &amp;f;
		}
	}
}
</string>
  </Examples>
</ErrorDocumentation>