summaryrefslogtreecommitdiff
path: root/Runtime/Export/AssemblyInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Export/AssemblyInfo.cs')
-rw-r--r--Runtime/Export/AssemblyInfo.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/Runtime/Export/AssemblyInfo.cs b/Runtime/Export/AssemblyInfo.cs
new file mode 100644
index 0000000..4a16238
--- /dev/null
+++ b/Runtime/Export/AssemblyInfo.cs
@@ -0,0 +1,15 @@
+using System.Runtime.CompilerServices;
+
+//TODO: Think about if this is secure or not, and if we should be using UnityEditor's public key instead.
+//I think we're cool, because we ifdef it out in the version of UnityEngine.dll that we ship with the webplayer.
+#if UNITY_EDITOR
+[assembly: InternalsVisibleTo("UnityEditor")]
+[assembly: InternalsVisibleTo("Unity.PureCSharpTests")]
+[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] // for Moq
+[assembly: InternalsVisibleTo("UnityEditor.Graphs")]
+[assembly: InternalsVisibleTo("UnityEditor.Xbox360.Extensions")]
+#endif
+
+#if UNITY_WINRT
+[assembly: InternalsVisibleTo("WinRTBridge")]
+#endif \ No newline at end of file