question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for c#7 compilation

See original GitHub issue

We should add support using the compiler for c#7 as this version introduces a variety of benefits for modders.

Benefits

Most notably:

  1. Out variables (out var)
  2. Pattern matching (x is y) [very strong with switch-case statements]
  3. Tuple types and literals. Named tuples: (var my, var named, var tuple) x -> x.my x.named x.tuple
  4. Local scope functions (nested functions) [YEEESSSSS]

More information: https://blogs.msdn.microsoft.com/dotnet/2017/03/09/new-features-in-c-7-0/

Assigning @Chicken-Bones

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Chicken-Bonescommented, Nov 17, 2018

Technically fixed as of fc7d56ed7518dc295b59cafe9d61607cda78ad0a TODO: Create separate auto-download for ModCompile folder. Create “Enable Developer Mode” button that replaces “Mod Sources” until activated Download the “v4.0 Client Reference Assemblies” inside the ModCompile folder after prompting, if the user has not installed VS

1reaction
Chicken-Bonescommented, Sep 17, 2018

Need to change RoslynWrapper to find and target the .NET 4.0 Client profile rather than just what is currently referenced.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C7 Corvette Parts & Accessories
Upgrade your car with a C7 Corvette wide body kit! Explore the benefits and options of this affordable kit to step up your...
Read more >
Compilation of loudest C7's & C7 Z06's Ever!!!!!!!
Here is compilation of all C7's & C7 Z06's with the Loudest Exhaust in the World From Long tube Headers, No Cats, No...
Read more >
Compilation of C7 racing seats
Compilation of C7 racing seats ... Hello all. I will be going to a racing seat and 5 point harness over the winter...
Read more >
[GCC 7.2 BUILD] Optimized TP-Link Archer C7 V2 AC1750 ...
After running into several issues with the RC1 release build of LEDE on my TP-Link Archer C7 V2, I decided to compile my...
Read more >
Cervical Myelopathy
Compilation of several MRI scans of the neck ... Your cervical spine contains seven vertebrae (C1 to C7), with six intervertebral discs and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found