a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
300 B
C#
16 lines
300 B
C#
// Compiler options: -r:gtest-friend-00-lib.dll -keyfile:InternalsVisibleTest2.snk
|
|
using System;
|
|
|
|
public class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
FriendClass fc = new FriendClass ();
|
|
|
|
// We should be able to access it
|
|
FriendClass.StaticFriendField = 5;
|
|
fc.InstanceFriendField = 6;
|
|
}
|
|
}
|
|
|