You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: