In README.md, the example provided in the section "Compiling and Executing Entire Classes" notes to use the following if you need access to the assembly:
var assembly = script.Assembly
This does not work as an CS0122 error is thrown stating "'CSharpScriptExecutionAssembly' is inaccessible due to its protection level."
I would submit a PR to change from protected to public, but was not sure if there was a specific reason for it to be designated as protected.
In README.md, the example provided in the section "Compiling and Executing Entire Classes" notes to use the following if you need access to the assembly:
This does not work as an CS0122 error is thrown stating "'CSharpScriptExecutionAssembly' is inaccessible due to its protection level."
I would submit a PR to change from protected to public, but was not sure if there was a specific reason for it to be designated as protected.