- 18 12月, 2020 1 次提交
-
-
由 Jason Malinowski 提交于
We tried to locate a constructor to delegate to; in that case we would grab the types of the constructor and make sure the original call site actually can use those types. In the cross-language case, we'd mix up types from different languages. The correct behavior here is to map the candiate type back to the language of the call site, since it's the call site's language rules that matter. Fixes https://github.com/dotnet/roslyn/issues/49850
-
- 11 12月, 2020 3 次提交
-
-
由 David 提交于
Workaround publishing error due to powershell task change
-
由 Tomáš Matoušek 提交于
-
由 AlekseyTs 提交于
-
- 10 12月, 2020 9 次提交
-
-
由 Shyam Namboodiripad 提交于
-
由 Marco Goertz 提交于
* Initialize VS services on demand on the UI thread. Avoid tracking "documents" with empty paths (e.g. while diffing). RDT info does not always contain the hierarchy when closing. Switch to a more reliable cookie-based tracking system instead. * Addressed feedback * Use GetRequiredDocument(). Add reference to issue #49879. * Fixed AutoInsertHandler signature
-
由 David Barbet 提交于
-
由 Rikki Gibson 提交于
-
https://github.com/dotnet/arcade由 dotnet-maestro[bot] 提交于
[master] Update dependencies from dotnet/arcade
-
由 Charles Stoner 提交于
-
由 Jason Malinowski 提交于
Fix crash where we try previewing a generated document; general cleanup
-
由 Jason Malinowski 提交于
Update our test generator for integration tests to generate multiple files
-
由 Andrew Arnott 提交于
-
- 09 12月, 2020 10 次提交
-
-
由 Jason Malinowski 提交于
Since we were previously throwing exceptions if the file couldn't be found, the default we were using didn't really matter. Now we'll try something (slightly) more sane.
-
由 Jason Malinowski 提交于
In the preview changes dialog we'd call this method to try to get an icon for it; if the file was a new file we'd throw exceptions which were swallowed by the shell.
-
由 Jason Malinowski 提交于
1. Remove the statics, most importantly the static TextView which meant we would leak the text view when the preview window was closed. The instance of the PreviewTagger is now placed in the property bag of the view itself. 2. Null annotate things. 3. Rename PreviewUpdater._currentDocument to _currentDocumentId. 3. Remove the logic in UpdateView that was checking if the buffer needed to be updated. The content check was expensive (it'd realize the buffer into a single string...twice), and was more easily done as a check inside of UpdateBuffer to see if the documentId is changing. 4. Replace calls for GetTextAsync() to GetTextSynchronously, since we're blocking the UI thread anyways.
-
由 Jason Malinowski 提交于
-
由 Chris Sienkiewicz 提交于
* Ensure we don't create duplicate names in AddedSources_Are_Deterministic test * Use TestBase.GetUniqueName()
-
由 Raf (Raffaele Rialdi) 提交于
Added support to normalize accessor list for a property/indexer/event on a single line when there are no accessors with block body. (#49495) The discussion started here: https://github.com/dotnet/roslyn/issues/49468 The work consisted in: - Added support in the SyntaxNormalizer class for the auto-properties (the ones who have null Body property) - Added more tests for properties including init accessor and initializers - Fixed the two existing tests (property and indexer) to reflect the changes The following comparisons shows the results of the actual tests, before and after this PR. ``` Before: class a { b c { get; } } After: class a { b c { get; } } ``` ``` Before: class a { int X { get; set; } = 2; } After: class a { int X { get; set; } = 2; } ``` ``` Before: class a { int Y { get; set; } = 99; } After: class a { int Y { get; set; } = 99; } ``` ``` Before: class a { int Z { get; } } After: class a { int Z { get; } } ``` ``` Before: class a { int T { get; init; } int R { get => 1; } } After: class a { int T { get; init; } int R { get => 1; } } ``` ``` Before: class a { int Q { get { return 0; } init { } } int R { get => 1; } } After: class a { int Q { get { return 0; } init { } } int R { get => 1; } } ``` ``` Before: class a { int R { get => 1; } } After: class a { int R { get => 1; } } ``` ``` Before: class a { int S => 2; } After: class a { int S => 2; } ``` ``` Before: class a { b this[c d] { get; } } After: class a { b this[c d] { get; } } ```
-
由 Jason Malinowski 提交于
We had a regression (https://github.com/dotnet/roslyn/pull/49673) which only broke if a generator produced multiple files. To prevent that regression from happening again, update our integration test to generate more than one file, so that case is covered. Closes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1253095
-
由 AlekseyTs 提交于
Ensure that each generic local function gets its own container to cache dynamic call-sites. (#49802) Fixes #49599.
-
-
由 AlekseyTs 提交于
Fixes #49754.
-
- 08 12月, 2020 10 次提交
-
-
由 msftbot[bot] 提交于
Restore internal API used by VS for Mac
-
由 David Wengier 提交于
-
由 msftbot[bot] 提交于
Merge release/dev16.9 to master
-
由 David 提交于
Refactor brace completion to split into Features vs EditorFeatures
-
由 Rikki Gibson 提交于
-
由 Rikki Gibson 提交于
-
由 Tanay Parikh 提交于
Update Default RazorDiagnosticMode to Pull API
-
由 msftbot[bot] 提交于
Revert "Increase CoreCLR dump information"
-
由 Jared Parsons 提交于
-
由 Fred Silberberg 提交于
-
- 07 12月, 2020 3 次提交
-
-
由 CyrusNajmabadi 提交于
Stop offering to add DebuggerDisplay on static types
-
由 jnm2 提交于
-
由 jnm2 提交于
-
- 05 12月, 2020 4 次提交
-
-
由 Julien Couvreur 提交于
-
由 msftbot[bot] 提交于
Merge release/dev16.8 to release/dev16.9
-
由 msftbot[bot] 提交于
Add StackOverflow InteractiveWindow test for .NET Core
-
由 msftbot[bot] 提交于
Remove unnecessary parens when converting switch statement ot expression
-