Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-friend-11.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a7f9532aa5f3139f03e9dc342c37367436f12733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Compiler options: -r:gtest-friend-02-lib.dll -keyfile:InternalsVisibleTest2.snk
using System;

public class Test
{
	public static void Main ()
	{
		FriendClass fc = new FriendClass ();
		
		// We should be able to access them
		FriendClass.StaticFriendMethod ();
		fc.InstanceFriendMethod ();
	}
}