summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1726-2.cs
blob: 8dfe8a482fd18f4e506e7577baa42d78fc87650f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1726: Friend assembly reference `MyAssemblyName, PublicKeyToken=43b5d2e9a794bdcb' is invalid. Strong named assemblies must specify a public key in their InternalsVisibleTo declarations
// Line: 8
// Compiler options: -keyfile:key.snk

using System;
using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo ("MyAssemblyName, PublicKeyToken=43b5d2e9a794bdcb")]

public class Test
{
	static void Main ()
	{
	}
}