﻿<?xml version="1.0" encoding="utf-8"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0246</ErrorName>
  <Examples>
    <string>// cs0246-10.cs: The type or namespace name `Nonexistant' could not be found. Are you missing a using directive or an assembly reference?
// Line: 5

using System;
using Nonexistant;

class X
{
	static void Main () {
	}
}

</string>
    <string>// cs0246-11.cs: The type or namespace name `aa' could not be found. Are you missing a using directive or an assembly reference?
// Line: 6

public class Test
{
	[aa.bb] int dummy;
}

</string>
    <string>// cs0246-12.cs: The type or namespace name `RNGCryptoServiceProvider' could not be found. Are you missing a using directive or an assembly reference?
// Line: 13

using System;

namespace System.Web.Configuration
{
	class MachineKeyConfig
	{
		static MachineKeyConfig ()
		{
			autogenerated = new byte [64];
			RNGCryptoServiceProvider cp = new RNGCryptoServiceProvider ();
			cp.GetBytes (autogenerated);
		}
	}
}

</string>
    <string>// cs0246-13.cs : The type or namespace name `class' could not be found. Are you missing a using directive or an assembly reference?
// Line: 9
using System;

public class classAttribute : Attribute
{
}

[@class]
class Foo
{
}
</string>
    <string>// cs0246-2.cs: The type or namespace name `ErrorType' could not be found. Are you missing a using directive or an assembly reference?
// Line: 5

interface A {
        event ErrorType Test;
}</string>
    <string>// cs0246-3.cs: The type or namespace name `ErrorType' could not be found. Are you missing a using directive or an assembly reference?
// Line: 5

interface A {
        ErrorType Method();
}</string>
    <string>// cs0246-4.cs: The type or namespace name `ErrorType' could not be found. Are you missing a using directive or an assembly reference?
// Line: 4

public delegate ErrorType Delegate ();</string>
    <string>// cs0246-5.cs: The type or namespace name `AAAA' could not be found. Are you missing a using directive or an assembly reference?
// Line: 7

using System;
[assembly:CLSCompliant (true)]

[AAAA(false)]
public sealed class Region
{
    public Region() {}
}
</string>
    <string>// cs0246-6.cs: The type or namespace name `XmlDocument' could not be found. Are you missing a using directive or an assembly reference?
// Line: 7
// This is bug 55770

using System;
using System.Xml;
using Document = XmlDocument;

public class Test {
	public static void Main ()
	{
	}
}</string>
    <string>// cs0246-8.cs: The type or namespace name `Reflection' could not be found. Are you missing a using directive or an assembly reference?
// Line: 7
using System;

class foo {
    static void Main(string[] args ) {    
        Reflection.ConstructorInfo ci;        
    }
} 

</string>
    <string>// cs0246.cs: The type or namespace name `B' could not be found. Are you missing a using directive or an assembly reference?
// Line: 4
interface A : B {
}

class X {
	static void Main () {
	}
}

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