svn path=/trunk/mcs/; revision=138732
--- /dev/null
+using System;
+
+namespace ConsoleApplication1
+{
+ public partial class X
+ {
+ [CLSCompliant (true)]
+ partial void Foo ();
+ }
+
+ public partial class X
+ {
+ partial void Foo ()
+ {
+ int i;
+ }
+ }
+
+ class Program
+ {
+ static int Main ()
+ {
+ var x = typeof (X).GetMethod ("Foo", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetCustomAttributes (true);
+ Console.WriteLine (x.Length);
+ if (x.Length == 1)
+ return 0;
+
+ return 1;
+ }
+ }
+}
</method>
</type>
</test>
+ <test name="test-partial-26.cs">
+ <type name="ConsoleApplication1.X">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ <method name="Void Foo()">
+ <size>1</size>
+ </method>
+ </type>
+ <type name="ConsoleApplication1.Program">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ <method name="Int32 Main()">
+ <size>50</size>
+ </method>
+ </type>
+ </test>
<test name="test-var-01.cs">
<type name="Test">
<method name="Void .ctor()">