This version of Unity is unsupported.
Method group is Obsolete

ScriptCompiler

enumeration

Obsolete

Description

Represents different C# compilers that can be used to compile C# scripts.