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

35 lines
496 B
C#

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