1 // Compiler options: -t:library
3 using System
.Runtime
.CompilerServices
;
5 [assembly
: InternalsVisibleTo ("gtest-friend-05")]
6 [assembly
: InternalsVisibleTo ("gtest-friend-06")]
7 [assembly
: InternalsVisibleTo ("gtest-friend-07")]
8 [assembly
: InternalsVisibleTo ("gtest-friend-08")]
10 public class FriendClass
14 internal static int StaticFriendField
;
16 internal static int StaticFriendProperty
{
22 internal static int StaticFriendMethod ()
29 internal int InstanceFriendField
;
31 internal int InstanceFriendProperty
{
37 internal int InstanceFriendMethod ()
43 internal class NestedInternalClass
47 protected internal class NestedProtectedInternalClass
53 // This is an internal class
55 class InternalFriendClass