- 29 10月, 2016 2 次提交
-
-
由 Andy Gocke 提交于
Currently, when a local function is captured inside another local function or lambda it can capture 'this' without generating a frame. This is useful, but when that lambda is itself captured then the capturing closure must also capture the frame pointer, namely 'this'. Currently, local function frame pointers are not correctly captured when the captured local function itself captures something from a "higher" scope than the capturing local function. This change solves this problem by: 1) Considering a local function's captured variables when deciding its scope. If the local function captures variables from a higher scope, that local function will be analyzed as belonging to the "higher" scope, causing that local function to register for frame capturing. 2) Since the proxies for capturing frames are not available at the time of local function reference rewriting, the proxies must be saved. There is a new temporary bound node for this purpose, PartiallyLoweredLocalFunctionReference, that stores the proxies and the underlying node for later use during the rewriting phase. This node should never make it past LocalFunctionReferenceRewriting. When these steps are completed, local functions should act very similarly to all other captured variables with different frames, where the frame pointers are captured and walked in a linked list in order to access the target with the proper receiver/frame pointer.
-
由 Kevin Pilch-Bisson 提交于
This reverts commit 8115c019.
-
- 28 10月, 2016 5 次提交
-
-
由 Heejae Chang 提交于
missing parse option in compilation option caused some vb My types to fail.
-
由 Jared Parsons 提交于
-
由 Neal Gafter 提交于
Fixes #14740
-
由 Ty Overby 提交于
* harden CompileMethod * Write out type name * change LowerBodyOrInitializer type to BoundStatement * switch to kind check * Fix style
-
由 Ravi Chande 提交于
-
- 27 10月, 2016 15 次提交
-
-
由 Phil 提交于
Cached lambdas were being used in situations where the return type was different. This forces building a new lambda body and binding for those cases.
-
由 Heejae Chang 提交于
for now, serialize solution and its related data creation to reduce allocations
-
由 Kevin Pilch 提交于
-
由 Ravi Chande 提交于
Don't set up a classification format map for the immediate window because we don't allow classification within it.
-
由 Jason Malinowski 提交于
If we rename a file from Foo.cs to Foocs, we went through OnSourceFileRenaming and updated it, but we won't get a call if we do that rename back, since we are tracking renames to documents in our projects and the second rename doesn't "count". This could result in you having both names, and if you renamed it again bad things would happen.
-
由 VSadov 提交于
-
由 VSadov 提交于
-
由 VSadov 提交于
-
由 VSadov 提交于
Fixes: #14709
-
由 VSadov 提交于
-
由 Neal Gafter 提交于
Fixes #14721
-
由 Jason Malinowski 提交于
If you use Solution Explorer to rename a file and the extension were to change or get deleted, we might crash. That's really bad, and we shouldn't do that. The problem was another fun example where different systems might see the rename first: if the document provider saw the RDT rename first, it'd close a document that the MiscellaneousFilesWorkspace was tracking. However, it saw things after the rename and in one place but hadn't seen the rename yet from the RDT.
-
由 Manish Vasani 提交于
* Handle IWorkspaceProjectContext creation requests with broken BinTargetPath CPS might provide such invalid paths during initialization or when project is in unrestored state. Now we handle these cases to ensure that BinOutputPath is either null or a rooted path. Fixes #14520 * Address PR feedback and use the project file path as the base for the temp rooted path * Address further feedback and use Roslyn PathUtilities instead of System.IO.Path * Missed one more usage of Path instead of PathUtilities
-
由 Neal Gafter 提交于
Fixes #14717 Fixes #14727
-
由 Neal Gafter 提交于
* Skip enclosing parens in ancestors to find the when clause of a switch case * Adjust instrumentation for when clause to include the when keyword Fixes #14707
-
- 26 10月, 2016 7 次提交
-
-
-
由 Paul Vick 提交于
-
由 Charles Stoner 提交于
-
由 Heejae Chang 提交于
-
由 Heejae Chang 提交于
-
由 Paul Vick 提交于
Cache in CodeLens service
-
由 AlekseyTs 提交于
Type comparison should ignore insignificant differences like tuple name mismatch, etc. Fixes https://devdiv.visualstudio.com/DevDiv/_workitems?id=269808.
-
- 25 10月, 2016 11 次提交
-
-
由 Paul Vick 提交于
-
由 Paul Vick 提交于
-
由 Ravi Chande 提交于
-
由 Ravi Chande 提交于
-
由 Jared Parsons 提交于
-
由 Matt Warren 提交于
-
由 Matt Warren 提交于
-
由 Matt Warren 提交于
-
由 Ravi Chande 提交于
Signature help improvements for C# tuples (renamed to work around jenkins issues)
-
由 Ravi Chande 提交于
-
-