linux-packaging-mono/mcs/tests/gtest-friend-01.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

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;
}
}