<?xml version="1.0" encoding="iso-8859-1"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0019</ErrorName>
  <Examples>
    <string>// cs0019.cs : Operator + cannot be applied to operands of type `int' and `Test.Zub'
// Line : 11
using System;

class Test {

	enum Zub :byte {
		Foo = 99,
		Bar,
		Baz
	}
	

	static void Main ()
	{
		int v = 1;
		object foo = (v + Zub.Foo);
	}
}
	
</string>
    <string>// cs0019.cs : Operator + cannot be applied to operands of type `int' and `Test.Zub'
// Line : 11
using System;

class Test {

	enum Zub :byte {
		Foo = 99,
		Bar,
		Baz
	}
	

	static void Main ()
	{
		object v = (Zub.Foo + Zub.Foo);
	}
}
	
</string>
    <string>// cs0019.cs : Operator + cannot be applied to operands of type `int' and `Test.Zub'
// Line : 11
using System;

class Test {

	enum Zub :byte {
		Foo = 99,
		Bar,
		Baz
	}
	

	static void Main ()
	{
		Zub a = Zub.Foo, b = Zub.Bar;
		object v = (a + b);
	}
}
	
</string>
    <string>class X {
}

class Y {
}

class T {
	static void Main ()
	{
		X x = new X ();
		Y y = new Y ();

		if (x == y){
		}
	}
}
</string>
    <string>enum A
{
        A1,
        A2
}

enum B
{
        B1,
        B2
}

class C
{
        static void Main ()
        {
                A a = A.A1;
                System.Console.WriteLine (a == B.B1);
        }
}
</string>
    <string>// cs0019.cs: Can not apply operator + between string and float *
// Line: 12
// Compiler options: -unsafe
using System;

public class Driver {
  public static void Main () {
    float [] floats = new float[1];
    floats[0] = 1.0f;
    unsafe {
      fixed (float *fp = &amp;floats[0]) {
	Console.WriteLine ("foo" + fp);
      }
    }
  }
}
</string>
    <string>// cs0019.cs : Operator '-' cannot be applied to operands of type `string' and `ulong'
// Line : 12

using System;

public class C
{
    public static void Main ()
    {
        ulong aa = 10;
        ulong bb = 3;
        Console.WriteLine("bug here --&gt; "+aa-bb);
    }
}
</string>
    <string>// cs0019.cs : Operator + cannot be applied to operands of type `Foo' and `int'
// Line : 11

public class Foo {

	public static void Main ()
	{
		
		Foo k = new Foo ();

		int i = k + 6;
		
	}
}
</string>
  </Examples>
</ErrorDocumentation>