ghorsington / mcs-unity

Mono.CSharp with edits for Unity modding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mono.CSharp

This is an edit of the official Mono.CSharp codebase with edits for Unity modding:

  • Backport C# 7 compiler code to .NET 3.5 (taken from https://github.com/kkdevs/mcs)
  • Remove dependency on System.XML as some games don't ship with it
  • Force Evaluator to import all memebers for code completion
  • Ignore access checks during compilation (by overwriting MemberSpec.IsAccessible)
  • Force the JIT to ignore access checks by marking the generated assembly as corlib_internal

About

Mono.CSharp with edits for Unity modding


Languages

Language:C# 96.6%Language:C 3.0%Language:Smalltalk 0.3%Language:Roff 0.1%Language:Makefile 0.0%Language:Batchfile 0.0%