<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0185</ErrorName>
  <Examples>
    <string>// CS0185: `method group' is not a reference type as required by the lock statement
// Line: 15

class MainClass
{
	public static void Main ()
	{
		lock (Bar.Buzz) {
		}
	}
}

class Bar
{
	internal void Buzz ()
	{
	}
}</string>
    <string>// CS0185: `int' is not a reference type as required by the lock statement
// Line: 7

class X {
	static void Main ()
	{
		lock (5) {
		}
	}
}
      
</string>
  </Examples>
</ErrorDocumentation>