<?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>CS0176</ErrorName>
  <Examples>
    <string>// cs0176-2.cs: Static member `MyClass.Start(string)' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 10
using System;

class TestIt 
{
        public static void Main() 
        {
                MyClass p = new MyClass();
                p.Start ("hi");
        }
}

class MyClass
{
        public static void Start (string info) 
        {
        }
}
</string>
    <string>// cs0176-3.cs: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 12
using System;

class A {
	public static int X;
}

class T {
	static void Main () {
		A T = new A ();
		System.Console.WriteLine (T.X);
	}
}</string>
    <string>// cs0176-4.cs: Static member `X.CONST' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 12

public class X {
	public const double CONST = 1;
}

public class Y: X {

	void D (X x)
	{
		double d = x.CONST;
	}
}
</string>
    <string>// CS0176: Static member `MyEnum.Foo' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 14

public enum MyEnum
{
	Foo = 1
}

public class Test
{
	static void Main ()
	{
		MyEnum theEnum = MyEnum.Foo;
		if (theEnum == theEnum.Foo)
		{
		}
	}
}
</string>
    <string>// cs0176.cs: Static member `X.void_method()' cannot be accessed with an instance reference, qualify it with a type name instead
// Line: 15
class X {
	public static void void_method ()
	{
	}
	public void void_method (int i)
	{
	}
}

class Y {
	void m (X arg)
	{
		arg.void_method ();
	}
}
</string>
  </Examples>
</ErrorDocumentation>