blob: ba68f00c432dddd1e3af63ace839cfccf0304cea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Compiler options: -target:library
using System.Runtime.CompilerServices;
using System;
[assembly:InternalsVisibleTo("gtest-433")]
namespace Blah {
// internal by default
class Class1
{
public void Test()
{
Console.WriteLine("Class1.Test");
}
}
// public type with internal member
public class Class2
{
internal void Test()
{
Console.WriteLine("Class2.Test");
}
internal enum Citrus {
Lemon,
Lime,
Orange
}
}
}
|