- 29 1月, 2015 6 次提交
-
-
由 Matt Mitchell 提交于
New CI server.
-
由 Matt Mitchell 提交于
-
由 beep boop 提交于
-
由 Pharring 提交于
This change introduces an overload of the LocalizableResourceString constructor which does not take any formatting arguments. Memspect reported over 3,000 instances of zero-length string arrays being created for constructing LocalizableResourceString. Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.ErrorFacts.GetTitle Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.ErrorFacts.GetDescription Microsoft.CodeAnalysis.CSharp.dll!Microsoft.CodeAnalysis.CSharp.ErrorFacts.GetMessageFormat (changeset 1406198)
-
由 vladres 提交于
-
由 dpoeschl 提交于
Bugfix 1086632 [RenameSymbolAsync] throws exception when renaming multiple symbols using a solution object / Crash when invoking EncapsulateField on multiple static fields These exceptions and crashes were happening because rename was leaving annotations on nodes even after the rename operation was complete. The ConflictEngine already had a method to RemoveAllRenameAnnotations, but it failed to remove annotated nodes or tokens nested inside other annotated nodes. This change updates RemoveAllRenameAnnotations's call to SyntaxNode.ReplaceSyntax to use computeReplacementNode & computeReplacementToken functions that utilize the "updated" node instead of the "original" node when calculating their replacements, which then preserves any earlier changes to descendant nodes/tokens. (changeset 1406014)
-
- 28 1月, 2015 13 次提交
-
-
由 jaredpar 提交于
The Open directory contains several projects that rely on having a compatible version of Visual Studio 2015 installed in order to build properly. At this time there is no version of Visual Studio that will work over the long term that we can ask customers, and Jenkins, to move to in order to edit and build Roslyn.sln on master. Our dependency on the VS SDK just evolves too rapidly. After some discussion I decided to put two solution files into the repo: - Roslyn2013.sln: This solution is usable on a machine with only Visual Studio 2013 installed. This unfortunately won't contain all of the new items we are releasing but at least gives customers a stable base to iterate on. - Roslyn.sln: This solution contains every project we've released and will work with some builds of 2015. Likely it will work with the most recent CTP but I have not verified that (just don't have the right setup to do so). The long term plan here is to always be able to edit, build and debug the master branch with an RTM version of Visual Studio. But until we hit RTM (or really RC) of Visual Studio 2015 we are going to have a hybrid solution to keep both us and customers productive. (changeset 1405691)
-
由 RoslynTeam 提交于
-
由 TomasMatousek 提交于
The compiler emits catch-all handler to all async methods. In case of async void methods we also emit the offset of the catch handler to PDB, so that the debugger can pretend that exceptions thrown by the async method are unhandled. Otherwise they are lost. Currently the compiler emits wrong offset, so the debugger is completely confused and displays "no source location" when such exception occurs. The fix is to remove a synthesized "nop" instruction that was incorrectly used to track the catch handler IL offset. Instead mark the synthesized BoundCatchHandler node by a flag and create the IL marker in the CodeGen when emitting instructions for such bound node. Affects both C# and VB. Fixes bug 1114809. (changeset 1405564)
-
由 TomasMatousek 提交于
-
由 TomasMatousek 提交于
Add LambdaExpressionSyntax node as an abstract base class of SimpleLambdaExpression, ParenthesizedLambdaExpression. Add AnonymousFunctionExpression as an abstract base class of LambdaExpressionSyntax and AnonymousMethodExpression. (changeset 1405438)
-
由 BalajiKris 提交于
Brace matching has code to check for matching spans left of the caret - to deal with cases like {$$()}. We need to protect against negative numbers when caret is at position 0. (changeset 1405386)
-
由 jaredpar 提交于
(changeset 1405366)
-
由 beep boop 提交于
-
由 pgavlin 提交于
***NO_CI*** (changeset 1405238)
-
由 RoslynTeam 提交于
-
由 beep boop 提交于
-
由 jaredpar 提交于
Background: As discussed in the dev team all hands all code under the GitHub dotnet foundation is using a single process for contribution, API review, infrastructure and coding style. The idea is to present a unified view to our customer and give them a single story for contributing to any project under the dotnet foundation. https://github.com/dotnet/corefx/wiki/Contributing#c-coding-style The coding style transition is automated using a Roslyn based rewrite tool: https://github.com/dotnet/codeformatter This will be applied in stages across our developer tree. Right now the focus is on the Open directory as this is what is being presented on github. Code owners will be contacted before the transition happens. Note: this is a soft style requirement. There are no build errors that come from this change. (changeset 1405126)
-
由 pgavlin 提交于
Fix a bug in the adjusted Color Color code that failed to correctly account for instance members on base types. ***NO_CI*** (changeset 1404916)
-
- 27 1月, 2015 16 次提交
-
-
由 beep boop 提交于
-
由 ChuckStoner 提交于
-
由 TomasMatousek 提交于
We haven't calculated variable slot mapping when only whitespace/comments were updated in an active method. As a result the values of local variables were often lost after the update. This changeset creates syntax map for such an edit. Fixes RC bug 1113015. (changeset 1404723)
-
由 jaredpar 提交于
After some discussion between Neal, Sri and myself we decided to make AsyncQueue<T> and CompilationEvent internal. The justification for this was: - At the time there is no need for this type to be public. Ideally the IDE and Compiler would be structured in a way that making it public was needed but for now it is not done that way. - AsyncQueue<T> feels like a type which should be in BCL, not Roslyn. - No concrete need for making this public at the moment. Given that we decided to make it internal for now. One of the main hopes here is we can convince the BCL to take ownership of the AsyncQueue<T>. If we make it public now, even if they add such a type we'd never get to consume it. (changeset 1404591)
-
由 Jared Parsons 提交于
-
由 RoslynTeam 提交于
-
由 jaredpar 提交于
-
由 beep boop 提交于
-
由 srivatsn 提交于
Creating one nuget package for FxCopAnalyzers that contains both C# and VB and an update install script that knows to install the right analyzer for the target right target project. Creating a similar package for CodeAnalysis analyzers. Adding a dependency to this package from the CodeAnalysis.Common package so that any time a codeanalysis nuget is installed, the analyzers are installed as well. (changeset 1404420)
-
由 angocke 提交于
-
由 dpoeschl 提交于
-
由 Jonathon Marolf 提交于
Updating readme links for CTP5
-
由 Jonathon Marolf 提交于
Fixing another typo.
-
由 Jonathon Marolf 提交于
Added a space after the "5" in CTP 5. Corrected a mistype to say "CTP 5" instead of "Preview"
-
由 jmarolf 提交于
-
由 jaredpar 提交于
-
- 25 1月, 2015 5 次提交
-
-
由 jaredpar 提交于
(changeset 1403790)
-
由 jaredpar 提交于
These were accidentally changed to UTF-16LE during a recent scripted change. This went unnoticed because the encoding change didn't register in CodeFlow (indeed if you view a shelve of this change in CodeFlow it will report no changes). UTF-16 does not work well with Git as it is often interpreted as a binary file. Moving back to UTF-8 so our GitHub experience works well for customers. closes #66 (changeset 1403787)
-
由 heejaechang 提交于
made builtin analyzer exception to be treated like other analyzer exception except it log the exception using non-fatal-watson (changeset 1403750)
-
由 TomasMatousek 提交于
Changes the 4.0+ lock statement IL pattern to improve debugging experience and to match VB compiler. Previously “restarting” the lock by dragging IP to the lock() statement header didn’t reset “lockTaken” flag and Monitor.Enter threw an exception. Fixes bug 767299. (changeset 1403711)
-
由 RoslynTeam 提交于
-