Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.
/ mcs-unity Public archive
forked from ghorsington/mcs-unity

Mono.CSharp with edits for Unity modding

Notifications You must be signed in to change notification settings

sinai-dev/mcs-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 96.9%
  • C 3.0%
  • Other 0.1%