Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main to features/improved-definite-assignment #53084

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
99f3e83
added tests for expression-bodied members
akhera99 Mar 26, 2021
a686136
More comments/better grammar
akhera99 Mar 26, 2021
01f6474
Was recomputing the dictionary twice
akhera99 Mar 26, 2021
c6b4780
Next pass, adding tests now
akhera99 Mar 30, 2021
dd689c4
Added a lot of tests
akhera99 Mar 30, 2021
80947f3
Need to fix a lot of tests, but now there are 2 code actions on the m…
akhera99 Mar 31, 2021
68e28c4
Fixed display text
akhera99 Mar 31, 2021
44f9a95
Fixed up C# tests, need to fix overload case
akhera99 Mar 31, 2021
927d496
Made sure the overload always returns something that is a statementsy…
akhera99 Mar 31, 2021
9f02412
Fixed tests, trampoline and overload now allow for optional parameters
akhera99 Apr 1, 2021
d7ece8a
Simplified the names of tests
akhera99 Apr 1, 2021
c0dd2a6
update the argument list directly instead of creating a new invocation
akhera99 Apr 1, 2021
863cc57
Removed comments and renamed
akhera99 Apr 1, 2021
0605a2d
fixes based on feedback, removed constructor usage for overload/extra…
akhera99 Apr 2, 2021
56b8206
added test for variable with a property, find locals differently
akhera99 Apr 2, 2021
175ee5e
local declaration is different parent for C# and VB, fixed VB tests
akhera99 Apr 2, 2021
3ac4a37
Fixed constructor case
akhera99 Apr 2, 2021
0738269
Fixed comments
akhera99 Apr 2, 2021
591722d
updated comment
akhera99 Apr 2, 2021
4ee8be4
Added cross-language test
akhera99 Apr 2, 2021
b96393d
Converted type tests
akhera99 Apr 2, 2021
5391063
responded to feedback
akhera99 Apr 6, 2021
25bb2ac
check for this/base/me expressions
akhera99 Apr 6, 2021
0bb14da
abstracted out repeated code
akhera99 Apr 6, 2021
3bbe19c
Added invocation accessor code
akhera99 Apr 8, 2021
08a680d
moved instant member reference check into semanticequivalence
akhera99 Apr 8, 2021
7541f4b
Removed unnecessary loop
akhera99 Apr 8, 2021
a5c984e
Added current test progress
akhera99 Apr 8, 2021
78dafa5
Added more tests and fixed some VB logic
akhera99 Apr 9, 2021
8a9ec13
setup for dev17
genlu Apr 12, 2021
ff78898
Merge branch 'release/dev17.0' into merges/main-to-release/dev17.0
dibarbet Apr 12, 2021
4e05d70
Merge pull request #52576 from genlu/vssdk
genlu Apr 12, 2021
8c0b68c
Merge pull request #52531 from dotnet/merges/main-to-release/dev17.0
dibarbet Apr 12, 2021
d75f5e2
Merge pull request #52592 from dotnet/merges/main-to-release/dev17.0
Apr 13, 2021
3f592d2
Merge pull request #52600 from dotnet/merges/main-to-release/dev17.0
Apr 13, 2021
af8f5e7
Merge pull request #52607 from dotnet/merges/main-to-release/dev17.0
Apr 13, 2021
66845e5
Merge remote-tracking branch 'upstream/main' into merges/main-to-rele…
dibarbet Apr 14, 2021
21b95e3
Merge pull request #52614 from dotnet/merges/main-to-release/dev17.0
Apr 14, 2021
d145584
Merge pull request #52641 from dotnet/merges/main-to-release/dev17.0
Apr 15, 2021
e13b766
Merge pull request #52648 from dotnet/merges/main-to-release/dev17.0
Apr 15, 2021
b893711
responded to feedback
akhera99 Apr 15, 2021
e1e8e55
Merge branch 'release/dev17.0' into features/22051_introduce_paramete…
akhera99 Apr 15, 2021
76789c4
Added with block test
akhera99 Apr 15, 2021
196e8bc
Merge branch 'features/22051_introduce_parameter_restart' of https://…
akhera99 Apr 15, 2021
ed11ff8
Merge pull request #52651 from dotnet/merges/main-to-release/dev17.0
Apr 15, 2021
efb98fc
converted to using enums, fixed generator
akhera99 Apr 15, 2021
6320b3f
removed comment
akhera99 Apr 16, 2021
a459695
Special casing destructor for VB
akhera99 Apr 16, 2021
a0bcfa2
Merge pull request #52664 from dotnet/merges/main-to-release/dev17.0
JoeRobich Apr 16, 2021
f65ddf2
feedback
akhera99 Apr 16, 2021
4e45459
Added code refactoring provider names to fix failing test??
akhera99 Apr 16, 2021
fcebdd9
Merge pull request #52684 from dotnet/merges/main-to-release/dev17.0
Apr 16, 2021
fa3a928
changed priority group of code action test
akhera99 Apr 16, 2021
d916839
Merge pull request #52687 from dotnet/merges/main-to-release/dev17.0
Apr 17, 2021
aec3a5f
Correctly specify the VB capability
jasonmalinowski Apr 17, 2021
5d133f3
Change IImageMonikerService to IImageIdService for better cross platf…
davidwengier Apr 19, 2021
7cdef0b
Merge pull request #51357 from akhera99/features/22051_introduce_para…
akhera99 Apr 19, 2021
92fba0d
Merge pull request #52699 from dotnet/merges/main-to-release/dev17.0
Apr 19, 2021
2a9ccb7
Merge pull request #52743 from dotnet/merges/main-to-release/dev17.0
Apr 19, 2021
10d3f1e
Merge pull request #52753 from dotnet/merges/main-to-release/dev17.0
Apr 20, 2021
e443581
added new class to reconfigure stufff
akhera99 Apr 20, 2021
e76206c
Chanegd file name
akhera99 Apr 20, 2021
d78a947
Merge pull request #52777 from dotnet/merges/main-to-release/dev17.0
Apr 20, 2021
ee3b27e
Merge pull request #52787 from dotnet/merges/main-to-release/dev17.0
Apr 21, 2021
126947c
Provide a default implementation of IDocumentTrackingService
sharwell Apr 21, 2021
0176581
Avoid using _liveDiagnosticIdMap for different meanings
sharwell Apr 21, 2021
5d9af96
Remove solution crawler coupling to UnitTestingIncrementalAnalyzer
sharwell Apr 21, 2021
a1ad041
Fix active file analysis in solution crawler
sharwell Apr 21, 2021
56203e6
Fix active file analysis in BackgroundCompiler
sharwell Apr 21, 2021
173e0e5
Fix active document handling in BackgroundParser
sharwell Apr 21, 2021
fb48f57
Use IDocumentTrackingService correctly in tests
sharwell Apr 21, 2021
067cd28
responded to feedback
akhera99 Apr 21, 2021
b074630
Fixed one occurrence of naming violation I missed
akhera99 Apr 21, 2021
759d06f
Moved generator, syntaxfacts, semanticfacts to be members
akhera99 Apr 21, 2021
c6d984a
stopped passing in unnecessary args
akhera99 Apr 21, 2021
7d4c8b3
Retrieve text edits from add constructor parameter
dibarbet Apr 21, 2021
c3f91f8
Update telemetry metadata name
dibarbet Apr 21, 2021
23766a0
Merge pull request #52779 from akhera99/features/introduce_parameter_…
akhera99 Apr 22, 2021
3437865
fix tests
dibarbet Apr 22, 2021
0ca93cd
added checks for instance references and tests
akhera99 Apr 22, 2021
edd06ef
fix logic
akhera99 Apr 22, 2021
7c814a8
changed to using an operationwalker
akhera99 Apr 22, 2021
1b24172
remove empty blank line
dibarbet Apr 22, 2021
8a757b6
Enable nullable reference types related to document tracker
sharwell Apr 22, 2021
9ec45ac
Merge pull request #52796 from dotnet/merges/main-to-release/dev17.0
Apr 22, 2021
4df2465
Add non-insert commit character support for XAML
LinglingTong Apr 22, 2021
89d820c
Remove cancellation tokens from FAR context objects.
CyrusNajmabadi Apr 22, 2021
e9671df
Simplify
CyrusNajmabadi Apr 22, 2021
f40591e
Merge pull request #52850 from dotnet/merges/main-to-release/dev17.0
Apr 22, 2021
a2442ab
Removed walker
akhera99 Apr 22, 2021
9431a96
Merge remote-tracking branch 'upstream/main' into farCT
CyrusNajmabadi Apr 23, 2021
895f079
Add OneLocBuild
jonfortescue Apr 23, 2021
be0670c
Merge pull request #52859 from dotnet/merges/main-to-release/dev17.0
dibarbet Apr 23, 2021
c4a8a64
Merge remote-tracking branch 'upstream/main' into farCT
CyrusNajmabadi Apr 23, 2021
3ed6923
NRT
CyrusNajmabadi Apr 23, 2021
c0ccca0
NRT
CyrusNajmabadi Apr 23, 2021
8d0450f
Convert expected results to local variables
sharwell Apr 22, 2021
c219964
Update expected results to match new behavior
sharwell Apr 22, 2021
4eb9086
Consolidate identical expected results
sharwell Apr 22, 2021
cdc9713
Merge pull request #52871 from dotnet/merges/main-to-release/dev17.0
Apr 23, 2021
0129ac1
Enable quick info integration tests in LSP run
dibarbet Apr 23, 2021
3915840
Comment out the rest of the build
jonfortescue Apr 23, 2021
5046485
Merge remote-tracking branch 'origin/release/dev17.0' into merges/mai…
JoeRobich Apr 24, 2021
ca2c342
Merge pull request #52880 from dotnet/merges/main-to-release/dev17.0
Apr 24, 2021
2d6717b
Merge pull request #52884 from dotnet/merges/main-to-release/dev17.0
Apr 24, 2021
b236152
Merge pull request #52895 from dotnet/merges/main-to-release/dev17.0
Apr 25, 2021
167bf09
Make 'async methods or lambda expressions' warning message a little q…
jnm2 Apr 25, 2021
d01b54d
Merge pull request #52908 from dotnet/merges/main-to-release/dev17.0
Apr 26, 2021
fdd2269
Fix argument wrapping for target-typed new
Youssef1313 Apr 26, 2021
fd27c1e
TrimTrailingSeparators on GetRelativePath
jmarolf Apr 26, 2021
838aa12
only run on windows
jmarolf Apr 26, 2021
d5a907f
cache the commit characters and other code review feedbacks
LinglingTong Apr 26, 2021
e620e4f
Merge pull request #52824 from akhera99/features/introduce_parameter_…
akhera99 Apr 26, 2021
477ef4e
Merge branch 'main' into LocalizationTests
jonfortescue Apr 26, 2021
7fbec7a
Upgrade OneLocBuild
jonfortescue Apr 26, 2021
159e57a
Merge pull request #52877 from dibarbet/enable_hover_tests
dibarbet Apr 26, 2021
9dc51cf
Merge pull request #51839 from Youssef1313/patch-51
sharwell Apr 26, 2021
dff5b6d
fix static check error
LinglingTong Apr 26, 2021
82afa9b
Update dependencies from https://github.com/dotnet/roslyn build 20210…
dotnet-maestro[bot] Apr 26, 2021
9321eb4
Merge pull request #52918 from dotnet/merges/main-to-release/dev17.0
Apr 26, 2021
cecb378
Fix out of bounds exception when mapping between spans in classification
CyrusNajmabadi Apr 26, 2021
1d222b7
Merge pull request #52690 from jasonmalinowski/fix-vb-analyzers-node
jasonmalinowski Apr 26, 2021
f6590f2
Change main to d17
dibarbet Apr 26, 2021
002773b
Fix code cleanup registration for VB
jasonmalinowski Apr 26, 2021
2de59fd
Do not show UI if no managed projects are loaded
jmarolf Apr 26, 2021
dcf1fa0
EnC - Runtime capabilities support (#52566)
davidwengier Apr 26, 2021
03cb74a
Merge pull request #52909 from Youssef1313/wrapping-target-typed
sharwell Apr 26, 2021
c91602f
Merge pull request #52930 from dotnet/merges/main-to-release/dev17.0
Apr 26, 2021
e7b7556
add unix tests
jmarolf Apr 26, 2021
5f937d2
Merge pull request #52924 from CyrusNajmabadi/fixOutOfBoundsWithTagging
CyrusNajmabadi Apr 26, 2021
62988ea
Merge pull request #52848 from LinglingTong/dev/ltong/noninsertcommit…
dibarbet Apr 26, 2021
dd4b6af
Merge pull request #52929 from jasonmalinowski/fix-vb-code-cleanup-co…
jasonmalinowski Apr 26, 2021
9036d0c
Merge pull request #52928 from dibarbet/update_publishdata
dibarbet Apr 26, 2021
efc7e4e
Merge pull request #52937 from dotnet/main
jasonmalinowski Apr 26, 2021
d70d336
Merge remote-tracking branch 'upstream/release/dev17.0' into merge_17…
dibarbet Apr 26, 2021
c1a885b
Update version number
dibarbet Apr 26, 2021
7dd737d
Merge pull request #52912 from jmarolf/bugfix/namespace-path-index-ou…
jmarolf Apr 26, 2021
363d5ac
Kick work down if new work comes in
CyrusNajmabadi Apr 27, 2021
0e1253d
Cleanup
CyrusNajmabadi Apr 27, 2021
e435f17
Test hook
CyrusNajmabadi Apr 27, 2021
068a77d
Merge pull request #52941 from dotnet/merges/release/dev16.10-to-main
Apr 27, 2021
ff43f61
Merge pull request #52939 from dibarbet/merge_17_to_main
dibarbet Apr 27, 2021
e709638
Catch exceptions within LazyToolTip
sharwell Apr 27, 2021
b3506f7
Simplify code.
CyrusNajmabadi Apr 27, 2021
490b426
Remove introspection onto code action results
dibarbet Apr 26, 2021
71b602c
Merge branch 'add_parameter' of https://github.com/dibarbet/roslyn in…
dibarbet Apr 27, 2021
7afa533
remove some unneeded whitespace
dibarbet Apr 27, 2021
7afcb64
Move result type to own file
dibarbet Apr 27, 2021
eed662a
Remove extension
CyrusNajmabadi Apr 27, 2021
7d64892
Remove extension
CyrusNajmabadi Apr 27, 2021
0780beb
Remove extension
CyrusNajmabadi Apr 27, 2021
463af12
Remove extension
CyrusNajmabadi Apr 27, 2021
e2e5f8c
Remove extension
CyrusNajmabadi Apr 27, 2021
f6473e4
Remove extension
CyrusNajmabadi Apr 27, 2021
a6c1af5
Remove extension
CyrusNajmabadi Apr 27, 2021
7717475
Remove extension
CyrusNajmabadi Apr 27, 2021
d6a064f
Remove extension
CyrusNajmabadi Apr 27, 2021
ea2f5a7
Remove extension
CyrusNajmabadi Apr 27, 2021
04a6726
Remove extension
CyrusNajmabadi Apr 27, 2021
bf43672
Remove extension
CyrusNajmabadi Apr 27, 2021
31c94cf
Simplify queuing
CyrusNajmabadi Apr 27, 2021
2db89d0
reoder'
CyrusNajmabadi Apr 27, 2021
56fd68c
Simplify queuing
CyrusNajmabadi Apr 27, 2021
057a4a1
use helper'
CyrusNajmabadi Apr 27, 2021
896c501
ensure ordering
CyrusNajmabadi Apr 27, 2021
1181c11
Extract'
CyrusNajmabadi Apr 27, 2021
3ab5c1f
Extend GoToDefinition on control flow statements
jcouv Feb 8, 2021
ec0a12e
Update EditAndContinueCapabilities.cs (#52935)
davidwengier Apr 27, 2021
944dd46
Add packages
jonfortescue Apr 27, 2021
857775c
Split C# and VB tests
jcouv Apr 27, 2021
dc1ed29
Merge branch 'main' into LocalizationTests
jonfortescue Apr 27, 2021
f28c2f6
Uncomment build
jonfortescue Apr 27, 2021
158e7ff
Handle disposal
CyrusNajmabadi Apr 27, 2021
0b4a2c7
Ensure we don't reference cancellation token from this point on.
CyrusNajmabadi Apr 27, 2021
185187c
Simplify
CyrusNajmabadi Apr 27, 2021
a3f2704
Merge pull request #52949 from CyrusNajmabadi/removeExtensions
CyrusNajmabadi Apr 27, 2021
419cf9c
Merge pull request #52818 from dibarbet/add_parameter
dibarbet Apr 27, 2021
1ed5dc6
Simplify
CyrusNajmabadi Apr 27, 2021
2c48c8e
Merge remote-tracking branch 'upstream/release/dev16.10' into restart…
CyrusNajmabadi Apr 27, 2021
35555e5
NRT
CyrusNajmabadi Apr 27, 2021
617e59c
Merge pull request #52946 from CyrusNajmabadi/restartTagging
CyrusNajmabadi Apr 27, 2021
7980ffe
Merge pull request #51063 from jcouv/goto-loop
jcouv Apr 27, 2021
be87808
Merge pull request #52807 from sharwell/active-file
sharwell Apr 27, 2021
5cf96e7
Merge remote-tracking branch 'upstream/main' into farCT
CyrusNajmabadi Apr 27, 2021
dfb7c29
Remove bridge
CyrusNajmabadi Apr 27, 2021
d3801b3
Optimize the case when we have a generator not producing output
jasonmalinowski Apr 27, 2021
249f844
Update LanguageVersion enum doc comments (#52955)
Youssef1313 Apr 27, 2021
5bb81f3
Go to implementation should skip abstract members that are also overr…
CyrusNajmabadi Apr 27, 2021
3c6c20a
update publishdata
genlu Apr 28, 2021
3aa88b7
Merge pull request #52981 from CyrusNajmabadi/gotoAbstract
CyrusNajmabadi Apr 28, 2021
c0a9d31
Merge remote-tracking branch 'upstream/main' into farCT
CyrusNajmabadi Apr 28, 2021
d339c0e
Simplify
CyrusNajmabadi Apr 28, 2021
f841f71
Add comment
CyrusNajmabadi Apr 28, 2021
72665a7
do not cancel in our task adding loop
CyrusNajmabadi Apr 28, 2021
55833c3
Merge pull request #52985 from genlu/d17PublishData
genlu Apr 28, 2021
3bc865c
Remove check
jonfortescue Apr 28, 2021
f8220ae
When invoking 'generate overrides' respect teh last user action wrt s…
CyrusNajmabadi Apr 28, 2021
e14e8ff
Simplify
CyrusNajmabadi Apr 28, 2021
cea73d9
Move the cursor to avoid the bad words
Cosifne Apr 28, 2021
34b64e7
Move to Ubuntu 18.04 queue
JoeRobich Apr 28, 2021
e753bc5
Add release notes for VS 16.7 - 16.9
JoeRobich Apr 28, 2021
5c6c1b4
Add ServiceHub implementation of IDocumentTrackingService
sharwell Apr 27, 2021
a26c8a7
Avoid attempting to rely on active file information when none is avai…
sharwell Apr 27, 2021
318b50b
Explicitly name tuple elements for clarity
sharwell Apr 27, 2021
3450134
Switch to a simpler cancellation ownership model for the FAR window. …
CyrusNajmabadi Apr 28, 2021
430a900
Merge branch 'farCT' of https://github.com/CyrusNajmabadi/roslyn into…
CyrusNajmabadi Apr 28, 2021
dadb859
Cocoa part
CyrusNajmabadi Apr 28, 2021
030c74a
Update "contributing" doc with pointers on IOperation test hook (#52978)
jcouv Apr 29, 2021
845c245
Make CodeAction.CustomTags internal
JoeRobich Apr 29, 2021
caa91bd
Merge pull request #52979 from jasonmalinowski/fix-generator-assert
jasonmalinowski Apr 29, 2021
2ec1c6c
Merge pull request #52995 from dotnet/dev/jorobich/move-ubuntu-queue
JoeRobich Apr 29, 2021
776d0c9
Remove CustomTags from CodeAction constructors
JoeRobich Apr 29, 2021
6a21690
Merge remote-tracking branch 'upstream/main' into farCT
CyrusNajmabadi Apr 29, 2021
4807b90
Merge remote-tracking branch 'upstream/main' into genOverridesRemember
CyrusNajmabadi Apr 29, 2021
870afb1
Add ConfigureAwait calls to cocoa code.
CyrusNajmabadi Apr 29, 2021
4e18115
Merge pull request #52996 from JoeRobich/update-ide-doc
JoeRobich Apr 29, 2021
29eb3fe
Merge pull request #52992 from CyrusNajmabadi/genOverridesRemember
CyrusNajmabadi Apr 29, 2021
a92af5e
Merge pull request #52994 from Cosifne/dev/shech/polifix
Cosifne Apr 29, 2021
f015548
Fix EnC capabilties check for runtimes that aren't returning capabili…
davidwengier Apr 29, 2021
d32ce89
Merge pull request #52854 from CyrusNajmabadi/farCT
CyrusNajmabadi Apr 29, 2021
612f985
Merge remote-tracking branch 'upstream/main' into addConfigureAwait
CyrusNajmabadi Apr 29, 2021
5d09cd5
Prepend first statement of using block with a newline, if opening bra…
zanseb Apr 29, 2021
0d14c5d
Adapt codestyle
zanseb Apr 29, 2021
c6e08e5
Merge pull request #53010 from CyrusNajmabadi/addConfigureAwait
CyrusNajmabadi Apr 29, 2021
3d1ec94
Apply suggestions
zanseb Apr 29, 2021
6246b77
Update src/Analyzers/CSharp/CodeFixes/UseSimpleUsingStatement/UseSimp…
zanseb Apr 29, 2021
f28e41a
Merge branch 'main' into LocalizationTests
jonfortescue Apr 29, 2021
92f460a
Merge pull request #52934 from jmarolf/bugfix/more-resilient-editor-f…
jmarolf Apr 29, 2021
e01744e
Merge pull request #53008 from JoeRobich/make-customtags-internal
JoeRobich Apr 29, 2021
2611a96
Avoid negative logic when checking whether a eol is present
zanseb Apr 29, 2021
327698b
Disable CompileTimeSolutionProvider
tmat Apr 29, 2021
de369e7
Implement the right interface
tmat Apr 29, 2021
49606a9
Merge pull request #53015 from zanseb/fix-52970
CyrusNajmabadi Apr 29, 2021
4fa8906
Merge pull request #52962 from jonfortescue/LocalizationTests
JoeRobich Apr 29, 2021
498414c
Run LSP integration on CI builds only until they're stable
dibarbet Apr 29, 2021
7bea821
Remove eng/docker/mono.sh script (#51833)
akoeplinger Apr 29, 2021
1d7cdf2
Explicitly define no PR triggers as they are on 'by default'
dibarbet Apr 29, 2021
e8e6d30
Merge pull request #53033 from dotnet/merges/release/dev16.10-to-main
dibarbet Apr 29, 2021
da2f728
Fix caret placement for argument completion snippets
sharwell Apr 29, 2021
8d08e88
Merge pull request #53040 from sharwell/caret-placement
sharwell Apr 30, 2021
e1fd65d
Merge pull request #53032 from dibarbet/lsp_on_rolling
dibarbet Apr 30, 2021
3b1a1a4
Avoid false assert in AssertMemberExposure due to a race. (#53044)
AlekseyTs Apr 30, 2021
7f76171
Merge pull request #52976 from sharwell/oop-document-tracking
sharwell Apr 30, 2021
a7dec76
Update version for 16.11
JoeRobich Apr 30, 2021
cdf4f8f
Merge pull request #53055 from dotnet/dev/jorobich/update-version
sharwell Apr 30, 2021
46cbaab
Merge pull request #53046 from dotnet/merges/release/dev16.10-to-main
dibarbet Apr 30, 2021
0df296c
Merge pull request #52947 from sharwell/handle-exception
sharwell Apr 30, 2021
3df52a7
Merge remote-tracking branch 'upstream/release/dev16.11' into merges/…
dibarbet Apr 30, 2021
525da64
Merge pull request #53062 from dotnet/merges/release/dev16.11-to-main
May 1, 2021
7986515
Merge remote-tracking branch 'upstream/main' into merges/main-to-feat…
RikkiGibson May 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions azure-pipelines-integration-lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ trigger:
- features/*
- demos/*

# Branches that trigger builds on PR
pr:
- main
- main-vs-deps
- release/*
- features/*
- demos/*
pr: none

jobs:
- job: VS_Integration_LSP
Expand Down
6 changes: 6 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ stages:
displayName: Build and Test

jobs:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
CreatePr: false
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-ROSLYN'

- job: OfficialBuild
displayName: Official Build
timeoutInMinutes: 360
Expand Down
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
jobName: Build_Unix_Debug
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
vmImageName: 'ubuntu-16.04'
vmImageName: 'ubuntu-18.04'

- template: eng/pipelines/test-unix-job.yml
parameters:
Expand All @@ -127,7 +127,7 @@ jobs:
buildJobName: Build_Unix_Debug
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
testArguments: --testCoreClr --helixQueueName Ubuntu.1604.Amd64.Open
testArguments: --testCoreClr --helixQueueName Ubuntu.1804.Amd64.Open

- template: eng/pipelines/test-unix-job-single-machine.yml
parameters:
Expand All @@ -137,7 +137,7 @@ jobs:
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
testArguments: --testCoreClr
queueName: 'BuildPool.Ubuntu.1604.amd64.Open'
queueName: 'BuildPool.Ubuntu.1804.amd64.Open'

- template: eng/pipelines/test-unix-job.yml
parameters:
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
- job: Correctness_SourceBuild
pool:
name: NetCorePublic-Pool
queue: BuildPool.Ubuntu.1604.amd64.Open
queue: BuildPool.Ubuntu.1804.amd64.Open
timeoutInMinutes: 90
steps:
- template: eng/pipelines/checkout-unix-task.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,12 @@ under `AppData`, not from `Program File`).
- add `<RestoreAdditionalProjectSources><PATH-TO-YOUR-ROSLYN-ENLISTMENT>\artifacts\packages\Debug\Shipping\</RestoreAdditionalProjectSources>` using the local path to your `roslyn` repo to `Directory.Build.props`
- add `<MicrosoftNetCompilersToolsetVersion>3.9.0-dev</MicrosoftNetCompilersToolsetVersion>` with the package version you just packed (look in above artifacts folder) to `eng/Versions.props`

### Testing with extra IOperation validation

Run `build.cmd -testIOperation` which sets the `ROSLYN_TEST_IOPERATION` environment variable to `true` and runs the tests.
For running those tests in an IDE, the easiest is to find the `//#define ROSLYN_TEST_IOPERATION` directive and uncomment it.
See more details in the [IOperation test hook](https://github.com/dotnet/roslyn/blob/main/docs/compilers/IOperation%20Test%20Hook.md) doc.

## Contributing

Please see [Contributing Code](https://github.com/dotnet/roslyn/blob/main/CONTRIBUTING.md) for details on contributing changes back to the code.
62 changes: 56 additions & 6 deletions docs/ide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## TOC
* [Dev16](#prod-16)
* [Dev 16.9](#prod-16-9)
* [Dev 16.8](#prod-16-8)
* [Dev 16.7](#prod-16-7)
* [Dev 16.6](#prod-16-6)
* [Dev 16.5](#prod-16-5)
Expand All @@ -20,11 +22,59 @@

## <a id="prod-16"></a> dev16

### <a id="prod-16-7"></a> 16.7 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes))

TO BE ADDED

### <a id="prod-16-6"></a> 16.6 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-archive-v16.6))
### <a id="prod-16-7"></a> 16.9 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-v16.9))
* There is now IntelliSense completion for preprocessor symbols.
* Solution Explorer now displays the new .NET 5.0 Source Generators.
* Go To All won't display duplicate results across netcoreapp3.1 and netcoreapp2.0.
* Quick Info now displays compiler warning IDs or numbers for suppressions.
* Using directives will now automatically get added when copying and pasting types to a new file.
* When pressing `;` to accept a method from a completion list, IntelliSense will now automatically insert the parentheses along with a semicolon for object creation and method calls.
* Semantic colorization for C# 9.0 [records](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9#record-types&preserve-view=true).
* Refactoring that removes unnecessary discards.
* Refactoring that converts a verbatim and regular string to an interpolated string preserving curly braces that were intended to go in the output.
* Code fix in Visual Basic that removes the shared keyword when you convert methods that are shared to a module.
* A refactoring that suggests using `new(…)` in non-contentious scenarios
* A code fix that removes redundant equality expressions for both C# and Visual Basic
* The .NET Code Style (IDE) analyzers can now be enforced on build
* The Syntax Visualizer shows the current foreground color for enhanced colors
* A new tooltip when hovering over the diagnostic ID for pragma warnings
* When you type the return key from within a comment the new line is now automatically commented out
* Inline parameter name hints enhancements
* .NET Core Debugging with WSL 2

### <a id="prod-16-7"></a> 16.8 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-v16.8))
* Roslyn analyzers are now included in the .NET 5.0 SDK
* Refactoring that introduces the new C# 9 `not` pattern matching syntax when a suppression operator is present
* Inline method refactoring to help replace usages of static, instance, and extension method within a single statement body
* Code fix to convert instances of `typeof` to `nameof` in C# and `GetType` to `NameOf` in Visual Basic
* C# and Visual Basic support for inline parameter name hints that inserts adornments for literals, casted literals, and object instantiations prior to each argument in function calls
* Refactoring that extracts members from a selected class to a new base class in both C# and Visual Basic
* Code cleanup has new configuration options that can apply formatting and file header preferences set in your EditorConfig file across a single file or an entire solution
* Code fix to remove the `in` keyword where the argument should not be passed by reference
* Refactoring that introduces the new C#9 pattern combinators and pattern matching suggestions such as converting `==` to use `is` where applicable
* Code fix to make a class abstract when you are trying to write an abstract method in a class that is not abstract
* IntelliSense completion in `DateTime` and `TimeSpan` string literals automatically appear when the first quote is typed
* Code fix to remove unnecessary `pragma suppressions` and unnecessary `SuppressMessageAttributes`
* `Rename` and `Find All` References understands references to symbols within the target string of global `SuppressMessageAttributes`
* _ByVal_ fades to say it's not necessary along with a code fix to remove the unnecessary _ByVal_ in Visual Basic
* Interactive window support for multiple runtimes, such as .NET Framework and .NET Core.
* Added a new _RegisterAdditionalFileAction_ API that allows analyzer authors to create an analyzer for additional files.

### <a id="prod-16-7"></a> 16.7 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-v16.7))
* There is now a warning and code fix when a suppression operator is present but has no effect
* A second code fix suggesting the correct negating expression is also available
* You can now generate properties when generating a constructor in a type
* Quick Info now displays the diagnostic ID along with a help link
* There is now a quick action to add a debugger display attribute to a class
* There is now a code fix for accidental assignments or comparisons to the same variable
* You can now generate comparison operators for types that implement IComparable
* You can now generate IEquatable operators when generating .Equals for structs
* You can now create and assign properties or fields for all unused constructor parameters
* There is now IntelliSense completion in DateTime and TimeSpan string literals
* You can now add a parameter within the Change Signature dialog
* Analyzer authors can now use CompletionProviders for IntelliSense completions when shipping their analyzers with NuGet

### <a id="prod-16-6"></a> 16.6 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-v16.6))
* Add explicit cast code fix
* Simplify conditional expressions refactoring
* Convert regular string literals to verbatim string literals (and back) refactoring
Expand All @@ -33,7 +83,7 @@ TO BE ADDED
* Add file headers to existing files, projects, and solutions with EditorConfig
* [Microsoft Fakes support for .NET Core](https://docs.microsoft.com/visualstudio/releases/2019/release-notes#microsoft-fakes-for-net-core-and-sdk-style-projects) and SDK-style projects

### <a id="prod-16-5"></a> 16.5 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-archive-v16.5))
### <a id="prod-16-5"></a> 16.5 ([release notes](https://docs.microsoft.com/visualstudio/releases/2019/release-notes-v16.5))
* You can now use System.HashCode to implement the GetHashCode method when System.HashCode is available.
* Refactoring to convert if statements to switch statements or switch expressions.
* IntelliSense completion for unimported extension methods. You will first need to turn this option on in **Tools > Options > Text Editor > C# > Intellisense > and select Show items from unimported namespaces**.
Expand Down
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>0ca849f0b71866b007fedaaa938cee63f8d056a6</Sha>
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="3.10.0-3.21216.10">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="3.10.0-3.21223.23">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>9bfe989ad46e3f457d33ed800c3be012cec5afc6</Sha>
<Sha>9b40ab852a3b59ce9cef33b3e97c17af13c8e694</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="6.0.0-beta.21167.3">
<Uri>https://github.com/dotnet/arcade</Uri>
Expand Down
11 changes: 6 additions & 5 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
Roslyn version
-->
<PropertyGroup>
<MajorVersion>3</MajorVersion>
<MinorVersion>10</MinorVersion>
<MajorVersion>4</MajorVersion>
<MinorVersion>0</MinorVersion>
<PatchVersion>0</PatchVersion>
<PreReleaseVersionLabel>3</PreReleaseVersionLabel>
<PreReleaseVersionLabel>2</PreReleaseVersionLabel>
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
<!--
By default the assembly version in official builds is "$(MajorVersion).$(MinorVersion).0.0".
Expand All @@ -23,7 +23,7 @@
</MajorVersion>
<MinorVersion>
</MinorVersion>
<MicrosoftNetCompilersToolsetVersion>3.10.0-3.21216.10</MicrosoftNetCompilersToolsetVersion>
<MicrosoftNetCompilersToolsetVersion>3.10.0-3.21223.23</MicrosoftNetCompilersToolsetVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Versions used by several individual references below -->
Expand Down Expand Up @@ -233,7 +233,8 @@
<SystemThreadingTasksExtensionsVersion>4.5.4</SystemThreadingTasksExtensionsVersion>
<SQLitePCLRawbundle_greenVersion>2.0.4</SQLitePCLRawbundle_greenVersion>
<UIAComWrapperVersion>1.1.0.14</UIAComWrapperVersion>
<MicrosoftVSSDKBuildToolsVersion>16.8.3036</MicrosoftVSSDKBuildToolsVersion>
<MicroBuildPluginsSwixBuildVersion>1.1.33</MicroBuildPluginsSwixBuildVersion>
<MicrosoftVSSDKBuildToolsVersion>17.0.63-dev17-g3f11f5ab</MicrosoftVSSDKBuildToolsVersion>
<MicrosoftVSSDKVSDConfigToolVersion>16.0.2032702</MicrosoftVSSDKVSDConfigToolVersion>
<VSLangProjVersion>7.0.3301</VSLangProjVersion>
<VSLangProj140Version>14.0.25030</VSLangProj140Version>
Expand Down
28 changes: 0 additions & 28 deletions eng/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ usage()
echo ""
echo "Advanced settings:"
echo " --ci Building in CI"
echo " --docker Run in a docker container if applicable"
echo " --bootstrap Build using a bootstrap compilers"
echo " --runAnalyzers Run analyzers during build operations"
echo " --skipDocumentation Skip generation of XML documentation files"
Expand Down Expand Up @@ -76,7 +75,6 @@ warn_as_error=false
properties=""
source_build=false

docker=false
args=""

if [[ $# = 0 ]]
Expand Down Expand Up @@ -157,11 +155,6 @@ while [[ $# > 0 ]]; do
--warnaserror)
warn_as_error=true
;;
--docker)
docker=true
shift
continue
;;
--sourcebuild)
source_build=true
;;
Expand All @@ -178,27 +171,6 @@ while [[ $# > 0 ]]; do
shift
done

if [[ "$docker" == true ]]
then
echo "Docker exec: $args"

# Run this script with the same arguments (except for --docker) in a container that has Mono installed.
BUILD_COMMAND=/opt/code/eng/build.sh "$scriptroot"/docker/mono.sh $args
lastexitcode=$?
if [[ $lastexitcode != 0 ]]; then
echo "Docker build failed (exit code '$lastexitcode')." >&2
exit $lastexitcode
fi

# Ensure that all docker containers are stopped.
# Hence exit with true even if "kill" failed as it will fail if they stopped gracefully
if [[ "$prepare_machine" == true ]]; then
docker kill $(docker ps -q) || true
fi

exit
fi

# Import Arcade functions
. "$scriptroot/common/tools.sh"

Expand Down
25 changes: 17 additions & 8 deletions eng/common/generate-locproject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if ($allXlfFiles) {
$langXlfFiles = Get-ChildItem -Recurse -Path "$SourcesDirectory\*\*.$firstLangCode.xlf"
}
$langXlfFiles | ForEach-Object {
$null = $_.Name -Match "([^.]+)\.[\w-]+\.xlf" # matches '[filename].[langcode].xlf'
$null = $_.Name -Match "(.+)\.[\w-]+\.xlf" # matches '[filename].[langcode].xlf

$destinationFile = "$($_.Directory.FullName)\$($Matches.1).xlf"
$xlfFiles += Copy-Item "$($_.FullName)" -Destination $destinationFile -PassThru
Expand All @@ -52,7 +52,7 @@ $locJson = @{
LanguageSet = $LanguageSet
LocItems = @(
$locFiles | ForEach-Object {
$outputPath = "Localize\$(($_.DirectoryName | Resolve-Path -Relative) + "\")"
$outputPath = "$(($_.DirectoryName | Resolve-Path -Relative) + "\")"
$continue = $true
foreach ($exclusion in $exclusions.Exclusions) {
if ($outputPath.Contains($exclusion))
Expand All @@ -66,10 +66,19 @@ $locJson = @{
}
if ($continue)
{
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnName"
OutputPath = $outputPath
if ($_.Directory.Name -eq 'en' -and $_.Extension -eq '.json') {
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnPath"
OutputPath = "$($_.Directory.Parent.FullName | Resolve-Path -Relative)\"
}
}
else {
return @{
SourceFile = $sourceFile
CopyOption = "LangIDOnName"
OutputPath = $outputPath
}
}
}
}
Expand All @@ -79,7 +88,7 @@ $locJson = @{
}

$json = ConvertTo-Json $locJson -Depth 5
Write-Host "(NETCORE_ENGINEERING_TELEMETRY=Build) LocProject.json generated:`n`n$json`n`n"
Write-Host "LocProject.json generated:`n`n$json`n`n"
Pop-Location

if (!$UseCheckedInLocProjectJson) {
Expand All @@ -91,7 +100,7 @@ else {
Set-Content "$SourcesDirectory\Localize\LocProject-generated.json" $json

if ((Get-FileHash "$SourcesDirectory\Localize\LocProject-generated.json").Hash -ne (Get-FileHash "$SourcesDirectory\Localize\LocProject.json").Hash) {
Write-PipelineTaskError -Type "warning" -Message "Existing LocProject.json differs from generated LocProject.json. Download LocProject-generated.json and compare them."
Write-PipelineTelemetryError -Category "OneLocBuild" -Message "Existing LocProject.json differs from generated LocProject.json. Download LocProject-generated.json and compare them."

exit 1
}
Expand Down
10 changes: 8 additions & 2 deletions eng/common/templates/job/onelocbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ parameters:

SourcesDirectory: $(Build.SourcesDirectory)
CreatePr: true
AutoCompletePr: false
UseCheckedInLocProjectJson: false
LanguageSet: VS_Main_Languages
LclSource: lclFilesInRepo
Expand Down Expand Up @@ -46,16 +47,21 @@ jobs:

- task: OneLocBuild@2
displayName: OneLocBuild
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
locProj: Localize/LocProject.json
outDir: $(Build.ArtifactStagingDirectory)
lclSource: ${{ parameters.LclSource }}
lclPackageId: ${{ parameters.LclPackageId }}
isCreatePrSelected: ${{ parameters.CreatePr }}
repoType: ${{ parameters.RepoType }}
gitHubPatVariable: "${{ parameters.GithubPat }}"
${{ if eq(parameters.CreatePr, true) }}:
isAutoCompletePrSelected: ${{ parameters.AutoCompletePr }}
packageSourceAuth: patAuth
patVariable: ${{ parameters.CeapexPat }}
${{ if eq(parameters.RepoType, 'gitHub') }}:
repoType: ${{ parameters.RepoType }}
gitHubPatVariable: "${{ parameters.GithubPat }}"
condition: always()

- task: PublishBuildArtifacts@1
Expand Down
19 changes: 15 additions & 4 deletions eng/config/PublishData.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,22 @@
"Shipping",
"NonShipping"
],
"version": "3.10.*",
"version": "4.0.*",
"packageFeeds": "default",
"channels": [],
"vsBranch": "main",
"vsMajorVersion": 16
"vsMajorVersion": 17
},
"release/dev17.0-preview1-nopia-vs-deps": {
"nugetKind": [
"Shipping",
"NonShipping"
],
"version": "4.0.*",
"packageFeeds": "default",
"channels": [],
"vsBranch": "feature/d17initial",
"vsMajorVersion": 17
},
"release/dev17.0-preview1-vs-deps": {
"nugetKind": [
Expand Down Expand Up @@ -209,11 +220,11 @@
"Shipping",
"NonShipping"
],
"version": "3.10.*",
"version": "4.0.*",
"packageFeeds": "arcade",
"channels": [],
"vsBranch": "main",
"vsMajorVersion": 16
"vsMajorVersion": 17
},
"features/NullableReferenceTypes": {
"nugetKind": "PerBuildPreRelease",
Expand Down
Loading