The .NET Compiler Platform ("Roslyn") provides open-source C# and Visual Basic compilers with rich code analysis APIs.
C# Visual Basic 1C Enterprise PowerShell Batchfile Groovy
Latest commit 8788a88 Jan 13, 2017 @agocke agocke committed on GitHub Disallow extract method when extraction region contains local function (
#16021)

Temporarily marks data flow analysis over a region which contains local
functions as "failed." The current implementation is incorrect, so data
flow analysis should mark the result as bad rather than knowingly give
an incorrect result.

This change also causes extract method to emit a warning when extracting
over a region which involves local functions.

Fixes #15532, #16116, #8719, #8718, #8717
Permalink
Failed to load latest commit information.
.github Add a PR template with our ask mode questions Nov 17, 2016
build Upgrade Linux use of portable targets Jan 13, 2017
docs Expression variables declared in a local function parameter default a… Jan 13, 2017
src Disallow extract method when extraction region contains local function ( Jan 13, 2017
.editorconfig fixing up the formatting on our editorconfig file (#16414) Jan 11, 2017
.gitattributes Add comment explaining gitattributes change Mar 11, 2016
.gitignore Add *.VC.db to the .gitignore too Oct 6, 2016
BuildAndTest.proj Fix caching logic Jan 3, 2017
Compilers.sln Ensure that the CoreCLR projects target the x64 runtime Dec 28, 2016
CrossPlatform.sln Ensure that the CoreCLR projects target the x64 runtime Dec 28, 2016
License.txt Include the actual license text. Feb 6, 2015
Makefile Upgrade Linux use of portable targets Jan 13, 2017
NuGet.Config Removing the last of the packages.config and replacing them with proj… Dec 15, 2016
README.md Update README.md to dev15-rc3 Jan 9, 2017
Restore.cmd Moving the SyntaxVisualizer to use the v1.1.0 of the Roslyn.Analyzers Dec 16, 2016
Roslyn.sln Fixing the build configuration for CSharpScripting in Release mode. Dec 28, 2016
SetDevCommandPrompt.cmd Conditionally turn echo on Nov 18, 2016
cibuild.cmd Removed custom bootstrap config files Dec 18, 2016
cibuild.sh Add --skipcommitprinting flag in cibuild.sh Dec 20, 2016
netci.groovy Disable the vs-integration tests from running with PRs by default. Dec 28, 2016
perf.groovy Allow "retest this please" (#14311) Oct 6, 2016

README.md

Welcome to the .NET Compiler Platform ("Roslyn")

Windows - Unit Tests

Debug x86 Debug x64 Release x86 Release x64 Determinism Debug Integration Release Integration
master Build Status Build Status Build Status Build Status Build Status Build Status Build Status
dev15-rc3 Build Status Build Status Build Status Build Status Build Status Build Status N/A

Linux/Mac - Unit Tests

Linux Mac OSX
master Build Status Build Status
dev15-rc3 Build Status Build Status

Join the chat at https://gitter.im/dotnet/roslyn

Roslyn provides open-source C# and Visual Basic compilers with rich code analysis APIs. It enables building code analysis tools with the same APIs that are used by Visual Studio.

Download C# and Visual Basic

Want to start developing in C# and Visual Basic? Download Visual Studio 2015, which has the latest features built-in. There are also prebuilt Azure VM images available with VS 2015 already installed.

To install the latest release without Visual Studio, run one of the following nuget command lines:

nuget install Microsoft.Net.Compilers   # Install C# and VB compilers
nuget install Microsoft.CodeAnalysis    # Install Language APIs and Services

Daily NuGet builds of the project are also available in our MyGet feed:

https://dotnet.myget.org/F/roslyn/api/v3/index.json

Source code

Get started

Contribute!

Some of the best ways to contribute are to try things out, file bugs, and join in design conversations.

Looking for something to work on? The list of up for grabs issues is a great place to start.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

.NET Foundation

This project is part of the .NET Foundation along with other projects like the class libraries for .NET Core.