<?xml version="1.0"?>
<ErrorDocumentation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ErrorName>CS1618</ErrorName>
  <Examples>
    <string>// CS1618: Cannot create delegate with `System.Diagnostics.Debug.Assert(bool)' because it has a Conditional attribute
// Line: 8

namespace Foo {
	using System.Diagnostics;
	partial class Bar {
		delegate void assert_t (bool condition);
		assert_t assert = new assert_t (Debug.Assert);
	}
}

namespace Foo {
	using System;
	partial class Bar
	{
		public Bar () {}
		static void Main ()
		{
			if (new Bar ().assert == null)
				throw new Exception ("Didn't resolve Debug.Assert?");
		}
	}
}
</string>
    <string>// CS1618: Cannot create delegate with `TestClass.Show(int)' because it has a Conditional attribute
// Line: 13

class TestClass
{
        delegate void test_delegate (int arg);

        [System.Diagnostics.Conditional("DEBUG")]
        public void Show (int arg) {}
            
        public TestClass ()
        {
            test_delegate D = new test_delegate (Show);
        }
}

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