--- /dev/null
+// Compiler options: -checked
+
+using System;
+
+internal sealed class Alpha
+{
+ public Alpha (string value)
+ {
+ m_name = value;
+ }
+
+ public override int GetHashCode ()
+ {
+ return int.MaxValue & m_name.GetHashCode ();
+ }
+
+ private string m_name;
+}
+
+internal sealed class Beta
+{
+ public Beta (string value)
+ {
+ m_address = value;
+ }
+
+ public override int GetHashCode ()
+ {
+ return int.MaxValue & m_address.GetHashCode ();
+ }
+
+ private string m_address;
+}
+
+internal static class Program
+{
+ private static int Main ()
+ {
+ var a = new { First = new Alpha ("joe bob"), Second = new Beta ("main street") };
+ Console.WriteLine ("hash = {0}", a.GetHashCode ());
+ return 0;
+ }
+}
+
</method>
</type>
</test>
+ <test name="gtest-anontype-11.cs">
+ <type name="Alpha">
+ <method name="Void .ctor(String)">
+ <size>14</size>
+ </method>
+ <method name="Int32 GetHashCode()">
+ <size>18</size>
+ </method>
+ </type>
+ <type name="Beta">
+ <method name="Void .ctor(String)">
+ <size>14</size>
+ </method>
+ <method name="Int32 GetHashCode()">
+ <size>18</size>
+ </method>
+ </type>
+ <type name="Program">
+ <method name="Int32 Main()">
+ <size>49</size>
+ </method>
+ </type>
+ <type name="<>__AnonType0`2[<First>__T,<Second>__T]">
+ <method name="Void .ctor(<First>__T, <Second>__T)">
+ <size>21</size>
+ </method>
+ <method name="<First>__T get_First()">
+ <size>7</size>
+ </method>
+ <method name="<Second>__T get_Second()">
+ <size>7</size>
+ </method>
+ <method name="Boolean Equals(System.Object)">
+ <size>69</size>
+ </method>
+ <method name="Int32 GetHashCode()">
+ <size>86</size>
+ </method>
+ <method name="System.String ToString()">
+ <size>108</size>
+ </method>
+ </type>
+ </test>
<test name="gtest-autoproperty-01.cs">
<type name="Test">
<method name="Void .ctor()">
</method>
</type>
</test>
+ <test name="gtest-exmethod-23.cs">
+ <type name="T">
+ <method name="Void A(System.String, Int32)">
+ <size>1</size>
+ </method>
+ <method name="Void Main()">
+ <size>1</size>
+ </method>
+ </type>
+ </test>
<test name="gtest-friend-01.cs">
<type name="Test">
<method name="Void .ctor()">
</method>
</type>
</test>
+ <test name="test-698.cs">
+ <type name="test">
+ <method name="Void .ctor()">
+ <size>7</size>
+ </method>
+ <method name="Void Main()">
+ <size>12</size>
+ </method>
+ </type>
+ </test>
<test name="test-7.cs">
<type name="Mine.MyBoolean">
<method name="Void .ctor()">