--- /dev/null
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+[assembly: AssemblyVersion ("1.0.0.0")]
+[assembly: AssemblyCulture ("en-US")]
+
+public class Lang
+{
+}
CS0619-43-lib.dll CS1546-lib.dll CS0619-51-lib.dll CS1509-module.dll CS1681-2-lib.dll \
CS0730-lib.dll \
CS1540-15-lib.dll CS1540-17-lib.dll CS1542-lib.dll CS1577-lib.dll \
- CS1683-lib.dll CS1684-lib.dll CS1685-2-lib.dll \
+ CS1607-3-lib.dll CS1683-lib.dll CS1684-lib.dll CS1685-2-lib.dll \
dlls/first/CS1701-lib.dll dlls/second/CS1701-lib.dll CS1701-lib.dll dlls/first/CS1702-lib.dll dlls/second/CS1702-lib.dll CS1702-lib.dll dlls/first/CS1705-lib.dll dlls/second/CS1705-lib.dll CS1705-lib.dll \
CS2015-lib.dll CS3005-16-lib.dll CS3013-module.dll CSExternAlias-lib.dll \
CSFriendAssembly-lib.dll \
--- /dev/null
+// CS1607: Referenced assembly `CS1607-3-lib' has different culture setting of `en-US'
+// Line: 0
+// Compiler options: -r:CS1607-3-lib.dll -warnaserror
+
+using System;
+
+class Program
+{
+ static void Main ()
+ {
+ Console.WriteLine (typeof (Lang));
+ }
+}
a.FullName);
}
+ var ci = a.Assembly.GetName ().CultureInfo;
+ if (ci != System.Globalization.CultureInfo.InvariantCulture) {
+ Report.Warning (1607, 1, "Referenced assembly `{0}' has different culture setting of `{1}'",
+ a.Name, ci.Name);
+ }
+
if (!a.IsFriendAssemblyTo (this))
continue;