<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS0182</ErrorName>
  <Examples>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 13

using System;

class TestAttribute: Attribute
{
	public TestAttribute (object o) {}
}

public class E
{
	[Test (new int[][] { null })]
	public static void Main ()
	{
		System.Reflection.MethodBase.GetCurrentMethod().GetCustomAttributes (true);
	}
}</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 13

using System;

class MyAttribute : Attribute
{
	public MyAttribute (object s)
	{
	}
}

[My (decimal.MaxValue)]
class X
{
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 10

using System.Runtime.InteropServices;

class X {
	static string dll = "some.dll";
	
	[DllImport (dll)]
	extern static void Blah ();
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 8

using System.Runtime.CompilerServices;

public class C
{
	[IndexerName ("1" + 2)]
	public string this [int i] {
		set { }
	}
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 6

using System.Reflection;

[assembly: AssemblyKeyFile(string.Empty)]
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 13

using System;

class MyAttribute : Attribute {

	public MyAttribute (string s)
	{
	}
}

[My (null as string)]
class X {

	static void Main ()
	{
	}
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 13

using System;

[AttributeUsage (AttributeTargets.All)]
public class MineAttribute : Attribute {
	public MineAttribute (Type [] t)
	{
	}
}

[Mine(new Type [(ulong) 3])]
public class Foo
{
}






</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 4

[A (false ? new object () : null)]
class AAttribute : System.Attribute
{
	public AAttribute (object value)
	{
	}
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 14
using System;
using System.Reflection;

[AttributeUsage (AttributeTargets.All)]
public class MineAttribute : Attribute {
	public MineAttribute (Type [] t)
	{
	}
}


[Mine(new Type [2])]
public class Foo {	
	public static int Main ()
	{
		return 0;
	}
}






</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 14
using System;
using System.Reflection;

[AttributeUsage (AttributeTargets.All)]
public class MineAttribute : Attribute {
	public MineAttribute (object t)
	{
	}
}


[Mine(new Type [2,2])]
public class Foo {	
	public static int Main ()
	{
		return 0;
	}
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 8

using System.Runtime.InteropServices;

class X {
	[DllImport ("1" + 9)]
	extern static void Blah ();
}
</string>
    <string>// CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression
// Line: 4

[A (true is bool)]
class AAttribute : System.Attribute
{
	public AAttribute (bool b)
	{
	}
}
</string>
  </Examples>
</ErrorDocumentation>