﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ErrorName>CS0029</ErrorName>
  <Examples>
    <string>public class Foo {
  enum MyEnumType { MyValue }

  public void Bar ()
  {
    uint my_uint_var = 0;
    switch (my_uint_var) {
    case MyEnumType.MyValue:
      break;
    default:
      break;
    }
  }

  static void Main () {}
}






</string>
    <string>// cs0029.cs: Cannot implicitly convert type 'Helper*' to 'Obsolete*'
// Line: 18
// Compiler options: -unsafe

class Box {
        public Helper o;
}

unsafe struct Obsolete {
}

unsafe struct Helper {}

class MainClass {
        unsafe public static void Main ()
        {
                Box b = new Box ();
                fixed (Obsolete* p = &amp;b.o)
                {
                }
        }
}
</string>
    <string>using System;
using System.Runtime.InteropServices;

namespace Tsunami {
  public sealed class Gl {

    [DllImport("libGL.so", EntryPoint="glCopyTexSubImage3D", CallingConvention="cdecl", ExactSpelling=true), SuppressUnmanagedCodeSecurity]
    public static extern void CopyTexSubImage3D ();

  }
}

</string>
    <string>// cs0029: cannot implicitly convert type `double' to `decimal'
// Line: 7

class T {
	public static int Main (string [] args)
	{
		decimal d = 100d;

		return 1;
	}
}
	      
</string>
  </Examples>
</ErrorDocumentation>