<?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>CS0050</ErrorName>
  <Examples>
    <string>// cs0050-2.cs: Inconsistent accessibility: return type `ErrorCS0052' is less accessible than method `Foo.Method()'
// Line: 10

using System;

class ErrorCS0052 {
}

public class Foo {
	public ErrorCS0052 Method () {
		Console.WriteLine ("The compile should advice the return type of this method is less accessible than the method.");
	}
	public static void Main () {}
}

</string>
    <string>// cs0050.cs: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
// Line: 13

using System;

class X {
	public X ()
	{
	}
}

public class Foo {
	public static X Bar () {
		return new Foo ();
	}

	public static void Main () {
		Foo x = Bar ();
	}
}

</string>
  </Examples>
</ErrorDocumentation>