<?xml version="1.0" encoding="us-ascii"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0459</ErrorName>
  <Examples>
    <string>// CS0459: Cannot take the address of fixed variable `a'
// Line: 10
// Compiler options: -unsafe

class C
{
	static int i;
	
	public static unsafe void Test ()
	{
		fixed (int* a = &amp;i) {
			int** x = &amp;a;
		}
    }
}
</string>
    <string>// CS0459: Cannot take the address of using variable `m'
// Line: 19
// Compiler options: -unsafe

using System;

struct S : IDisposable
{
	public void Dispose ()
	{
	}
}

class X {

	unsafe static void Main ()
	{
		using (S m = new S ()){
			S* mm = &amp;m;
		}
	}
}
	
</string>
    <string>// CS0459: Cannot take the address of `this' because it is read-only
// Line: 11
// Compiler options: -unsafe

using System;

class X {

	unsafe void Test ()
	{
		X x = *&amp;this;
	}
}
</string>
    <string>// CS0459: Cannot take the address of foreach iteration variable `c'
// Line: 10
// Compiler options: -unsafe

class C
{
	public static unsafe void Main ()
	{
		foreach (char c in "test") {
			char* ch = &amp;c;
		}
    }
}
</string>
  </Examples>
</ErrorDocumentation>