Code/Assembly.cs

Assembly-level declarations for the Game project. It adds global using directives for System and System.Collections.Generic and exposes internals to two editor assemblies via InternalsVisibleTo attributes.

global using System;
global using System.Collections.Generic;
using System.Runtime.CompilerServices;

// sbox renames assemblies for game compiles, so we need to add both the regular and game assembly names
[assembly: InternalsVisibleTo("Sandbox.Reactivity.editor")]
[assembly: InternalsVisibleTo("package.igor.reactivity.editor")]