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

Update features/rename_ui_rework #58068

Merged
merged 358 commits into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
358 commits
Select commit Hold shift + click to select a range
c0dcf8c
Fix add-braces crash in top-level
CyrusNajmabadi Nov 18, 2021
7bc68d9
Simplify sqlite authoring now that we're 64bit only
CyrusNajmabadi Nov 18, 2021
afc06e1
Add debug only failure so CI can catch issues where sqlite isn't load…
CyrusNajmabadi Nov 18, 2021
211aee2
Create azure-pipelines-integration-dartlab.yml
bradselw Nov 18, 2021
6dfb240
Update azure-pipelines-integration-dartlab.yml
bradselw Nov 18, 2021
2089cef
Both dirs
CyrusNajmabadi Nov 18, 2021
169da31
unskip tests
jmarolf Nov 18, 2021
3ba2fd7
Release the UI thread when performing GoToImpl command
CyrusNajmabadi Nov 18, 2021
60ebb32
Formatting
CyrusNajmabadi Nov 18, 2021
332dee4
About to undo
CyrusNajmabadi Nov 18, 2021
edf0c28
Fixes
CyrusNajmabadi Nov 18, 2021
6930441
[Async lightbulb] Move suppression fixes to 'Low' priority bucket
mavasani Sep 30, 2021
e797db7
Cache last project and compilationWithAnalyzers
mavasani Oct 8, 2021
0a2f5d7
Update test as normal priority bucket has one lesser code action
mavasani Nov 8, 2021
0ed8ac9
Avoid eagerly running formatting or simplification for Extract Method
sharwell Nov 18, 2021
27be231
Extract common functionality to base class
sharwell Nov 18, 2021
cd9fa01
Entirely async goto-impl
CyrusNajmabadi Nov 18, 2021
4c11943
Extract file
CyrusNajmabadi Nov 18, 2021
3c57e4b
Remove 'trimWhitespace' flag from integration tests
sharwell Nov 18, 2021
0d0ae01
Fix integration harness
CyrusNajmabadi Nov 18, 2021
33aa1d2
Overload resolution was ignoring HasTypeArgumentInferredFromFunctionT…
cston Nov 18, 2021
6ab6601
Ignore function types in return type inference (#57713)
cston Nov 18, 2021
dab14d5
UI improvements
CyrusNajmabadi Nov 18, 2021
cf39c6e
Simplify
CyrusNajmabadi Nov 18, 2021
f4db61c
Let the user know if we're waiting on the solution to load
CyrusNajmabadi Nov 18, 2021
b9727d4
Update src/VisualStudio/Core/Def/Implementation/FindReferences/Contex…
CyrusNajmabadi Nov 18, 2021
9c71338
Add comments
CyrusNajmabadi Nov 18, 2021
8caed62
Add comments
CyrusNajmabadi Nov 18, 2021
32c03f1
Remove stale comment
CyrusNajmabadi Nov 18, 2021
4edd1f7
Wrap
CyrusNajmabadi Nov 18, 2021
4803196
Make shallow checkout optional for integration test CI
JoeRobich Nov 18, 2021
269304f
Give the user a message if the solution is not fully loaded.
CyrusNajmabadi Nov 18, 2021
c869f77
Rvert
CyrusNajmabadi Nov 18, 2021
62da7bb
REvert
CyrusNajmabadi Nov 18, 2021
d333ed4
Add loc string
CyrusNajmabadi Nov 18, 2021
7f443d7
Pass information along even when popping up a message
CyrusNajmabadi Nov 18, 2021
59a79cf
Simplify
CyrusNajmabadi Nov 18, 2021
c5f11d5
Move pipeline checkout skips up a layer.
JoeRobich Nov 18, 2021
a76591b
Change indentation
CyrusNajmabadi Nov 18, 2021
7bc5faa
Remove partial
CyrusNajmabadi Nov 18, 2021
943d671
Rename file
CyrusNajmabadi Nov 18, 2021
2fc5071
Fix comment
CyrusNajmabadi Nov 18, 2021
abf9082
Increase version number
CyrusNajmabadi Nov 18, 2021
b268465
Notify out of lock
CyrusNajmabadi Nov 18, 2021
938bd79
Simplify
CyrusNajmabadi Nov 18, 2021
81851ed
Simplify
CyrusNajmabadi Nov 18, 2021
23a90d5
Flip
CyrusNajmabadi Nov 18, 2021
7f02e92
Update docs
CyrusNajmabadi Nov 18, 2021
62a22fe
Simplify
CyrusNajmabadi Nov 18, 2021
267b6dc
Spelling
CyrusNajmabadi Nov 18, 2021
3cffaef
Renames
CyrusNajmabadi Nov 18, 2021
c07f4f0
Update src/VisualStudio/Core/Def/Implementation/FindReferences/Contex…
CyrusNajmabadi Nov 18, 2021
7cff1e7
Add doc
CyrusNajmabadi Nov 18, 2021
ad49244
Add ocmment
CyrusNajmabadi Nov 18, 2021
cc70f1e
Merge branch 'gotoImplPumping' of https://github.com/CyrusNajmabadi/r…
CyrusNajmabadi Nov 18, 2021
fbc556a
Simplify
CyrusNajmabadi Nov 18, 2021
be9c09b
Add contract
CyrusNajmabadi Nov 18, 2021
4cae7d2
Simplify
CyrusNajmabadi Nov 18, 2021
aaec370
revert
CyrusNajmabadi Nov 18, 2021
df2586f
remove copy
CyrusNajmabadi Nov 18, 2021
e274f0d
Clean-up/enhance completion telemetry
genlu Nov 18, 2021
6fe4509
Look up VS bootstrapper from build
Nov 19, 2021
2dc4985
Merge branch 'dev/jorobich/dartlab' of https://github.com/dotnet/rosl…
Nov 19, 2021
681a61e
Revert skipPipelinesCheckout change
Nov 19, 2021
6bc3308
Comment out checkout: none for now
Nov 19, 2021
d375ad5
Throw for incorrect construction of SourceGeneratedFileItemSource
sharwell Nov 11, 2021
5c8bd7e
Switch to calling into IAsyncLightBulbSession directly to avoid polling.
CyrusNajmabadi Oct 21, 2021
409a65d
use helper
CyrusNajmabadi Oct 21, 2021
47a7b99
Add comment
CyrusNajmabadi Oct 26, 2021
017953c
Fix duplicate light bulb menus appearing
sharwell Oct 27, 2021
31f7f49
Fix accessibility
genlu Nov 19, 2021
a712454
Added matrix
Nov 19, 2021
3f69fd4
Target topic branch in DartLab.Templates
Nov 19, 2021
a50f4ab
Update number of machines to 4
Nov 19, 2021
0caede3
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Nov 19, 2021
6cf546e
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Nov 19, 2021
c7f139c
Run test agent elevated
Nov 19, 2021
92ef829
Merge FixIdDefinition with the same name
sharwell Nov 19, 2021
bf08178
Unify the namespace for our FatalError type
jasonmalinowski Nov 19, 2021
4394eee
Fix casing of references to ModuleSymbol
jasonmalinowski Nov 19, 2021
0594abc
Remove unused usings
jasonmalinowski Nov 19, 2021
3ad27ed
Retry SetForegroundWindow with DTE.MainWindow
sharwell Oct 21, 2021
2084b5e
Also collect crashes too
jasonmalinowski Nov 19, 2021
b3789a6
More cleanup
genlu Nov 19, 2021
bbd4111
Merge pull request #57878 from JoeRobich/backport-lightbulb-fix
JoeRobich Nov 19, 2021
241c9d2
Search less files when searching in global suppressions.
CyrusNajmabadi Nov 19, 2021
52021b4
Merge pull request #57637 from JoeRobich/update-to-net6.0GA
JoeRobich Nov 19, 2021
bfd8b0f
Increase timeouts
jasonmalinowski Nov 19, 2021
761df5e
Properly support TableEntryNavigateEventArgs.ShouldActivate
sharwell Nov 16, 2021
a50404e
Fix replace-prop-with-method (and the opposite) when references are i…
CyrusNajmabadi Nov 19, 2021
844c30d
Merge pull request #57862 from dotnet/merges/release/dev17.0-vs-deps-…
dotnet-bot Nov 19, 2021
fcd52eb
Wait for navigation operations to complete
sharwell Nov 20, 2021
f361ddf
Copy more files into the logs
jasonmalinowski Nov 20, 2021
d0f3d86
Merge pull request #57822 from JoeRobich/update-to-net6.0GA-main
JoeRobich Nov 20, 2021
e9ce0ef
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Nov 20, 2021
681e97a
Update dependencies from https://github.com/dotnet/arcade build 20211…
dotnet-maestro[bot] Nov 20, 2021
703bb7e
Use simple using statement
CyrusNajmabadi Nov 20, 2021
a22525d
Use nrt and an internal state object
CyrusNajmabadi Nov 20, 2021
09bc67a
List-patterns: factor binding logic (#57318)
jcouv Nov 20, 2021
33b168e
Don't offer to simply to an alias if it has a different meaning (#57001)
davidwengier Nov 20, 2021
f2c231a
Merge pull request #57835 from CyrusNajmabadi/addBracesTopLevel
CyrusNajmabadi Nov 20, 2021
fa2e3ca
Merge pull request #57836 from CyrusNajmabadi/sqliteAuthoring
CyrusNajmabadi Nov 20, 2021
897b786
Merge pull request #57890 from CyrusNajmabadi/farGlobalSuppress
CyrusNajmabadi Nov 20, 2021
623be72
Merge pull request #57795 from Cosifne/dev/shech/ResourcesFix
Cosifne Nov 21, 2021
b7dfd95
Update src/Features/Core/Portable/ReplacePropertyWithMethods/ReplaceP…
CyrusNajmabadi Nov 21, 2021
01f2b0b
Update src/Features/Core/Portable/ReplacePropertyWithMethods/ReplaceP…
CyrusNajmabadi Nov 21, 2021
0d661e9
Merge pull request #57905 from dotnet/merges/main-to-features/list-pa…
jcouv Nov 21, 2021
adbdb98
Merge pull request #57891 from CyrusNajmabadi/replacePropWithMethodLi…
CyrusNajmabadi Nov 21, 2021
88fdda9
Update src/VisualStudio/Core/Def/Implementation/FindReferences/Stream…
CyrusNajmabadi Nov 21, 2021
d39d68c
[SourceLink] Use correct encoding for embedded text (#57683)
davidwengier Nov 22, 2021
2e26701
Merge pull request #57861 from CyrusNajmabadi/gotoImplPumping
CyrusNajmabadi Nov 22, 2021
b8d2d81
Handle trivia better when converting to file scoped namespaces (#57913)
davidwengier Nov 22, 2021
76806ad
Merge pull request #57889 from sharwell/should-activate
sharwell Nov 22, 2021
5a99085
Merge pull request #57738 from sharwell/vs-extension-testing
sharwell Nov 22, 2021
c089e53
Merge pull request #57838 from sharwell/lazy-extract-method
sharwell Nov 22, 2021
879cbef
Merge pull request #57808 from CyrusNajmabadi/addBackAsyncLightbulbOp…
CyrusNajmabadi Nov 22, 2021
65141f0
Merge remote-tracking branch 'origin/release/dev17.1' into merges/rel…
JoeRobich Nov 22, 2021
af6ac9e
Merge pull request #57829 from jasonmalinowski/fix-deadlock-during-so…
jasonmalinowski Nov 22, 2021
dca99f2
Merge pull request #57831 from jasonmalinowski/null-out-semaphore-dur…
jasonmalinowski Nov 22, 2021
2ad1393
Merge pull request #57833 from jasonmalinowski/fix-deadlock-during-co…
jasonmalinowski Nov 22, 2021
5b20a71
Merge pull request #57893 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Nov 22, 2021
01b4117
Restore assertions for CancellationSeries
sharwell Nov 19, 2021
c519459
Merge pull request #57549 from jasonmalinowski/enable-dumps-for-test-…
jasonmalinowski Nov 22, 2021
d1a34b0
Merge pull request #57883 from sharwell/code-cleanup
sharwell Nov 22, 2021
f289db2
Merge pull request #57613 from jmarolf/infra/update-msbuildworkspace-…
jmarolf Nov 22, 2021
44af285
Merge pull request #57813 from jmarolf/bugfix/do-not-use-jtf-in-edito…
jmarolf Nov 22, 2021
f7e30a2
Merge pull request #57892 from dotnet/merges/release/dev17.0-vs-deps-…
dotnet-bot Nov 22, 2021
453cc31
Merge pull request #57691 from sharwell/stabilize-test
sharwell Nov 22, 2021
085ed3c
Add a test to cover the merging of TouchAdditionalFileActions
jasonmalinowski Oct 14, 2021
334a02a
Add a test covering AdditionalFile states from frozen semantics
jasonmalinowski Oct 18, 2021
9c5e2e5
Transform the GeneratorDriver even if the Compilation was GCed
jasonmalinowski Nov 11, 2021
2423c26
Remove try/catch, since the underlying issue is addressed
jasonmalinowski Nov 22, 2021
0c87862
Fix remove-unused-value when removing top levle statement
CyrusNajmabadi Nov 22, 2021
0bc1bce
Proper test
CyrusNajmabadi Nov 22, 2021
28726e8
FOrmatting
CyrusNajmabadi Nov 22, 2021
948cccc
fix bug (#57922)
akhera99 Nov 22, 2021
2ca57ab
NRT warnings
CyrusNajmabadi Nov 22, 2021
eb592f3
Add test for unique FixIdDefinition exports
sharwell Nov 22, 2021
a950ded
Merge 'dotnet/main' into fix-additional-text-bug
jasonmalinowski Nov 22, 2021
0d779cf
Remove caching by assembly identity when using AssemblyLoadContexts
jasonmalinowski Nov 2, 2021
1396af0
Fix races in AnalyzerAssemblyLoader
jasonmalinowski Nov 2, 2021
293f1fd
When we're loading dependencies, don't require exact versions
jasonmalinowski Nov 2, 2021
62abd7c
Rename DefaultAnalyzerAssemblyLoader.Load since it does't always load
jasonmalinowski Nov 23, 2021
06029c2
Inline an AddToCache method
jasonmalinowski Nov 23, 2021
dca430c
Rename a method and add some clarifying comments
jasonmalinowski Nov 23, 2021
d959aaf
use RTM version of nuget packages (#57936)
jmarolf Nov 23, 2021
e13ed58
Merge pull request #57816 from mavasani/FileLogger
mavasani Nov 23, 2021
40ce774
Merge remote-tracking branch 'origin/main' into merges/release/dev17.…
JoeRobich Nov 23, 2021
2e9d3fb
Merge pull request #57926 from dotnet/merges/release/dev17.1-to-main
JoeRobich Nov 23, 2021
98ec183
Simplify the code around parsing interpolated string literals.
CyrusNajmabadi Nov 23, 2021
e2befb7
Update src/Compilers/CSharp/Portable/Parser/LanguageParser_Interpolat…
CyrusNajmabadi Nov 23, 2021
a2ff21e
Make non-copyable
CyrusNajmabadi Nov 23, 2021
6946984
Reuse lexer methods
CyrusNajmabadi Nov 23, 2021
44fa7cb
Update src/Compilers/CSharp/Portable/Parser/Lexer_StringLiteral.cs
CyrusNajmabadi Nov 23, 2021
6c03b9f
Merge remote-tracking branch 'upstream/main' into removeUnusedValueTo…
CyrusNajmabadi Nov 23, 2021
9c030d8
Extract methods
CyrusNajmabadi Nov 23, 2021
1fa6e45
Merge pull request #57819 from dotnet/darc-release/dev17.0-vs-deps-38…
allisonchou Nov 23, 2021
93394d1
Fix merge conflicts
allisonchou Nov 23, 2021
5b6fc2e
Correctly specify our target folder
jasonmalinowski Nov 23, 2021
cbbe18a
Associate our .yml files in eng/pipelines with the VS Code support
jasonmalinowski Nov 23, 2021
2343016
Share more code
CyrusNajmabadi Nov 23, 2021
3c8d99c
Simplify interpolated string parsing
CyrusNajmabadi Nov 23, 2021
473fec7
Update test
CyrusNajmabadi Nov 23, 2021
0448b64
Merge pull request #57930 from CyrusNajmabadi/removeUnusedValueTopLevel
CyrusNajmabadi Nov 23, 2021
6b3e373
Merge pull request #57933 from sharwell/code-cleanup-test
sharwell Nov 23, 2021
36e2d5f
Update dependencies from https://github.com/dotnet/roslyn build 20211…
dotnet-maestro[bot] Nov 23, 2021
8de248e
Merge pull request #57817 from dotnet/darc-main-89aaff55-64f3-4206-8c…
allisonchou Nov 23, 2021
d31b1bc
Merge pull request #57950 from jasonmalinowski/fix-log-copying
jasonmalinowski Nov 23, 2021
92f87e0
Merge pull request #57949 from dotnet/merges/release/dev17.0-vs-deps-…
dotnet-bot Nov 23, 2021
7a6e23f
Merge pull request #57887 from jasonmalinowski/unify-fatalerror-names…
jasonmalinowski Nov 23, 2021
99c9c53
Update pipeline description
JoeRobich Nov 23, 2021
1c5a090
Default VS branch to main
JoeRobich Nov 23, 2021
7fea0aa
Unify representation of an implicit `Index` indexer over an array and…
AlekseyTs Nov 23, 2021
78ec4d9
Merge pull request #57721 from jasonmalinowski/fix-additional-text-bug
jasonmalinowski Nov 24, 2021
da34e59
Address feedback
mavasani Nov 24, 2021
0da275a
Add IXamlEditAndContinueSolutionProvider for XAML Language Service (#…
spadapet Nov 24, 2021
c445f75
Treat doc comments line regular comments in metadata as source (#57958)
davidwengier Nov 24, 2021
0660d83
List-patterns: add a few tests and add HasValidate flag (#57914)
jcouv Nov 24, 2021
eedbeb2
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 24, 2021
ddcfb77
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 24, 2021
8c43f2e
Merge pull request #57945 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 24, 2021
0975448
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 24, 2021
c1d4f40
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 24, 2021
3a716a9
Merge pull request #57954 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Nov 24, 2021
a2f620c
Add assert
CyrusNajmabadi Nov 24, 2021
967d690
Add assert
CyrusNajmabadi Nov 24, 2021
d9b616c
Merge pull request #57868 from genlu/CompletionTelemetry
genlu Nov 24, 2021
19d3159
Merge pull request #57962 from dotnet/features/list-patterns
jcouv Nov 24, 2021
5f9c0e9
Move code back
CyrusNajmabadi Nov 24, 2021
b5a6079
Exclude unnecessary sqlite assemblies
genlu Nov 24, 2021
731cf8c
Update OneOffInsertion.ps1 file path
allisonchou Nov 25, 2021
dac98b9
Merge pull request #57985 from dotnet/dev/allichou/UpdateOneOffInsert…
JoeRobich Nov 25, 2021
a273101
Simplify creation of interpolation text tokens.
CyrusNajmabadi Nov 25, 2021
ce69a5c
Convert namespace to file scoped when typing semicolon
CyrusNajmabadi Nov 29, 2021
d2b7692
Working on tests
CyrusNajmabadi Nov 29, 2021
5e8d11c
Add tests
CyrusNajmabadi Nov 29, 2021
2eebe11
Add comments
CyrusNajmabadi Nov 29, 2021
856f804
Add comments
CyrusNajmabadi Nov 29, 2021
cee1445
Revert
CyrusNajmabadi Nov 29, 2021
c6d6da4
Revert
CyrusNajmabadi Nov 29, 2021
b336159
Make static
CyrusNajmabadi Nov 29, 2021
4d8f8ab
Add tests
CyrusNajmabadi Nov 29, 2021
72c8ba2
Update dependencies from https://github.com/dotnet/roslyn build 20211…
dotnet-maestro[bot] Nov 29, 2021
db5cebe
Merge pull request #57951 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 29, 2021
3f61fde
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 29, 2021
b871419
Ensure we cache the previous item when two items are considered equal…
chsienki Nov 29, 2021
b58d49e
Merge pull request #57988 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 29, 2021
233ef83
Move Default VB Version to 16.9 (#57688)
333fred Nov 29, 2021
21055e1
Require definite assignment of all fields if struct includes any fiel…
cston Nov 29, 2021
f52d6dc
Update to DiffPlex 1.5.0
sharwell Nov 29, 2021
812ebb1
Add Roslyn.VisualStudio.Setup as a build dependency for integration t…
sharwell Nov 29, 2021
f97a467
Ensure determinism if we have the exact same version in multiple places
jasonmalinowski Nov 29, 2021
6c7ba46
Add comment explaining why we have try/catch
jasonmalinowski Nov 29, 2021
6aa3732
[LSP] Switch to exclusively using semantic tokens range handling (#57…
allisonchou Nov 30, 2021
45e8b75
Merge pull request #57946 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 30, 2021
e302aa0
Add missing test for CallerArgumentExpression (#57805)
333fred Nov 30, 2021
0bdc853
Merge pull request #56432 from jasonmalinowski/allow-loading-of-highe…
jasonmalinowski Nov 30, 2021
2df14d4
Simplify 'interpolation' data, and move to an easier to consume Syste…
CyrusNajmabadi Nov 30, 2021
5aa5247
Enable nullable reference types for TableDataSource
sharwell Nov 23, 2021
51112ed
Pass AnalysisKind instead of int
sharwell Nov 29, 2021
03f6adf
Hold Receiver directly in bound node for implicit indexer access (#58…
AlekseyTs Nov 30, 2021
76fcdfd
Merge pull request #58018 from sharwell/deploy-for-test
sharwell Nov 30, 2021
68c796b
Fix typo in XML doc for GeneratorExtensions (#58020)
GitHubPang Nov 30, 2021
f068f44
Mark EqualityContract property accessor as not auto-implemented (#57917)
Youssef1313 Nov 30, 2021
233618d
Log runtime framework of remote host
genlu Nov 30, 2021
31c7de2
Merge pull request #58031 from sharwell/tabledatasource
sharwell Nov 30, 2021
7577c07
Skip TestLargeStringConcatenation (#58035)
allisonchou Nov 30, 2021
c4b2c21
Merge remote-tracking branch 'upstream/main' into convertNamespaceSem…
CyrusNajmabadi Nov 30, 2021
eb6934a
Honor option, and also improve formatting with comment
CyrusNajmabadi Nov 30, 2021
81ed168
Fix comment
CyrusNajmabadi Nov 30, 2021
bff627e
Add tests
CyrusNajmabadi Nov 30, 2021
c9685f4
Fix await completion for expression body lambda
genlu Nov 30, 2021
18f3bc3
Merge pull request #58038 from genlu/RemoteHostFramework
genlu Dec 1, 2021
7f8fea9
Merge pull request #58016 from sharwell/update-diffplex
sharwell Dec 1, 2021
8f19149
Add new parser/lexer to the StackTraceAnalyzer (#57598)
ryzngard Dec 1, 2021
bc0cccf
Add comments
mavasani Dec 1, 2021
a575591
Shorten paths in VS installation (#57726)
davidwengier Dec 1, 2021
19d0b05
Merge pull request #58052 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 1, 2021
24a1d4b
Merge pull request #56959 from mavasani/AsyncLightBulb_LowPri
mavasani Dec 1, 2021
aeff023
Make it possible to analyze the dataflow of `ConstructorInitializerSy…
bernd5 Dec 1, 2021
b3d9ef6
Snap 17.1 P2 (#58041)
allisonchou Dec 1, 2021
a801e65
Merge pull request #58003 from CyrusNajmabadi/convertNamespaceSemicolon
CyrusNajmabadi Dec 1, 2021
0ce9a49
Add new parser/lexer to the StackTraceAnalyzer (#57598) (#58050)
ryzngard Dec 1, 2021
f17419c
Read SourceLink info and call service to retrieve source from there (…
davidwengier Dec 1, 2021
124f193
Merge pull request #58017 from sharwell/analysis-kind
sharwell Dec 1, 2021
c4512d5
Merge pull request #57953 from dotnet/dev/jorobich/dartlab
JoeRobich Dec 1, 2021
7fbc3fc
Merge pull request #57977 from genlu/CoreLayout
JoeRobich Dec 1, 2021
8b71240
Merge pull request #58042 from genlu/AwaitCompletionFix
genlu Dec 2, 2021
8a92d8a
Merge pull request #58061 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 2, 2021
6493157
Merge pull request #48245 from Youssef1313/patch-42
sharwell Dec 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"**/eng/pipelines/*.yml": "azure-pipelines"
}
}
3 changes: 3 additions & 0 deletions Roslyn.sln
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,9 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests", "src\Workspaces\Remote\ServiceHubTest\Microsoft.CodeAnalysis.Remote.ServiceHub.UnitTests.csproj", "{8D830CBB-CA6E-47D8-9FB8-9230AAD272F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.VisualStudio.LanguageServices.New.IntegrationTests", "src\VisualStudio\IntegrationTest\New.IntegrationTests\Microsoft.VisualStudio.LanguageServices.New.IntegrationTests.csproj", "{6272739B-31E4-483E-A3A5-2ABB5040ABF0}"
ProjectSection(ProjectDependencies) = postProject
{201EC5B7-F91E-45E5-B9F2-67A266CCE6FC} = {201EC5B7-F91E-45E5-B9F2-67A266CCE6FC}
EndProjectSection
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Expand Down
62 changes: 62 additions & 0 deletions azure-pipelines-integration-dartlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Roslyn integration test pipeline for validating against branch builds of VS.

trigger: none # Manual trigger for now

resources:
pipelines:
- pipeline: VisualStudioBuildUnderTest
source: DD-CB-ReleaseVS
branch: main
- pipeline: DartLab
source: DartLab
branch: main
repositories:
- repository: DartLabTemplates
type: git
name: DartLab.Templates
ref: refs/heads/dev/bradwhit/RemoveCheckoutNone

variables:
- name: XUNIT_LOGS
value: $(Build.SourcesDirectory)\artifacts\log\$(_configuration)

stages:
- template: \stages\visual-studio\base.yml@DartLabTemplates
parameters:
displayName: VS Integration
testLabPoolName: VS-Platform2
visualStudioBootstrapperURI: https://vsdrop.corp.microsoft.com/file/v1/$(VisualStudio.BuildUnderTest.ProductsDropName);bootstrappers/Enterprise/vs_enterprise.exe
visualStudioInstallationParameters: --add Microsoft.VisualStudio.Component.NuGet --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.Component.MSBuild --add Microsoft.NetCore.Component.Runtime.6.0 --add Microsoft.NetCore.Component.SDK --add Microsoft.Net.Component.4.7.2.TargetingPack --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.FSharp --add Microsoft.ComponentGroup.ClickOnce.Publish --add Microsoft.NetCore.Component.DevelopmentTools --add Microsoft.VisualStudio.Component.MSODBC.SQL --add Microsoft.VisualStudio.Component.MSSQL.CMDLnUtils --add Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime --add Microsoft.VisualStudio.Component.SQL.CLR --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.Net.Component.4.8.SDK --add Microsoft.Net.ComponentGroup.DevelopmentPrerequisites --add Microsoft.VisualStudio.Component.TypeScript.TSServer --add Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions --add Microsoft.VisualStudio.Component.JavaScript.TypeScript --add Microsoft.VisualStudio.Component.JavaScript.Diagnostics --add Microsoft.VisualStudio.Component.TextTemplating --add Component.Microsoft.VisualStudio.RazorExtension --add Microsoft.VisualStudio.Component.IISExpress --add Microsoft.VisualStudio.Component.Common.Azure.Tools --add Microsoft.Component.ClickOnce --add Microsoft.VisualStudio.Component.ManagedDesktop.Core --add Microsoft.VisualStudio.Component.SQL.SSDT --add Microsoft.VisualStudio.Component.SQL.DataSources --add Component.Microsoft.Web.LibraryManager --add Component.Microsoft.WebTools.BrowserLink.WebLivePreview --add Microsoft.VisualStudio.ComponentGroup.Web --add Microsoft.VisualStudio.Component.FSharp.WebTemplates --add Microsoft.VisualStudio.Component.DockerTools --add Microsoft.NetCore.Component.Web --add Microsoft.VisualStudio.Component.WebDeploy --add Microsoft.VisualStudio.Component.AppInsights.Tools --add Microsoft.VisualStudio.Component.Web --add Microsoft.Net.Component.4.8.TargetingPack --add Microsoft.Net.ComponentGroup.4.8.DeveloperTools --add Microsoft.VisualStudio.Component.AspNet45 --add Microsoft.VisualStudio.Component.AspNet --add Component.Microsoft.VisualStudio.Web.AzureFunctions --add Microsoft.VisualStudio.ComponentGroup.AzureFunctions --add Microsoft.VisualStudio.Component.Debugger.Snapshot --add Microsoft.VisualStudio.ComponentGroup.Web.CloudTools --add Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd --add Microsoft.VisualStudio.Component.DiagnosticTools --add Microsoft.VisualStudio.Component.EntityFramework --add Microsoft.VisualStudio.Component.LiveUnitTesting --add Microsoft.VisualStudio.Component.Debugger.JustInTime --add Component.Microsoft.VisualStudio.LiveShare.2022 --add Microsoft.VisualStudio.Component.WslDebugging --add Microsoft.VisualStudio.Component.IntelliCode --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites --add Microsoft.ComponentGroup.Blend --add Microsoft.VisualStudio.Component.DotNetModelBuilder --add Microsoft.VisualStudio.Component.FSharp.Desktop --add Microsoft.VisualStudio.Component.PortableLibrary --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.Component.4.6.TargetingPack --add Microsoft.VisualStudio.Component.VSSDK --add Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites --add Microsoft.Component.CodeAnalysis.SDK --add Microsoft.VisualStudio.Workload.VisualStudioExtension --installPath "C:\Test\VisualStudio" --quiet --norestart --wait
testExecutionJobStrategy:
maxParallel: 4
matrix:
debug_32:
_configuration: Debug
_oop64bit: false
debug_64:
_configuration: Debug
_oop64bit: true
release_32:
_configuration: Release
_oop64bit: false
release_64:
_configuration: Release
_oop64bit: true
testMachineTotalCount: 4
testAgentElevated: true
preTestMachineConfigurationStepList:
- checkout: none
- download: VisualStudioBuildUnderTest
- task: PowerShell@2
name: SetProductsDropName
displayName: Set 'VisualStudio.BuildUnderTest.ProductsDropName'
inputs:
filePath: $(DartLab.Path)\Scripts\VisualStudio\Build\Get-VisualStudioDropName.ps1
arguments: -DropNamePrefix 'Products' -VstsDropUrlsJson '$(Pipeline.Workspace)\VisualStudioBuildUnderTest\BuildArtifacts\VstsDropUrls.json' -OutVariableName 'VisualStudio.BuildUnderTest.ProductsDropName'
deployAndRunTestsStepList:
- template: eng/pipelines/test-integration-job.yml
parameters:
configuration: $(_configuration)
oop64bit: $(_oop64bit)
lspEditor: false
shallowCheckout: false
12 changes: 11 additions & 1 deletion docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
}
```


3. In Visual Studio 17.1, `ref`/`ref readonly`/`in`/`out` are not allowed to be used on return/parameters of a method attributed with `UnmanagedCallersOnly`.
https://github.com/dotnet/roslyn/issues/57025

Expand All @@ -56,3 +55,14 @@ https://github.com/dotnet/roslyn/issues/57025
[UnmanagedCallersOnly]
static void M5(out int o) => throw null; // error CS8977: Cannot use 'ref', 'in', or 'out' in a method attributed with 'UnmanagedCallersOnly'.
```

4. Beginning with C# 11.0, `Length` and `Count` properties on countable and indexable types
are assumed to be non-negative for purpose of subsumption and exhaustiveness analysis of patterns and switches.
Those types can be used with implicit Index indexer and list patterns.

```csharp
void M(int[] i)
{
if (i is { Length: -1 }) {} // error: impossible under assumption of non-negative length
}
```
24 changes: 12 additions & 12 deletions docs/contributing/Building, Debugging, and Testing on Unix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Building, Debugging and Testing on Unix
This guide is meant to help developers setup an environment for debugging / contributing to Roslyn from Linux.
Particularly for developers who aren't experienced with .NET Core development on Linux.
This guide is meant to help developers setup an environment for debugging / contributing to Roslyn from Linux.
Particularly for developers who aren't experienced with .NET Core development on Linux.

## Working with the code
1. Ensure the commands `git` and `curl` are available
Expand All @@ -12,7 +12,7 @@ Particularly for developers who aren't experienced with .NET Core development on
1. Install [VS Code](https://code.visualstudio.com/Download)
- After you install VS Code, install the [C# extension](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp)
- Important tip: You can look up editor commands by name by hitting *Ctrl+Shift+P*, or by hitting *Ctrl+P* and typing a `>` character. This will help you get familiar with editor commands mentioned below. On a Mac, use *⌘* instead of *Ctrl*.
2. Install the [.NET 6.0 RC 2 SDK](https://dotnet.microsoft.com/download/dotnet-core/6.0).
2. Install the [.NET 6.0 SDK](https://dotnet.microsoft.com/download/dotnet-core/6.0).
3. You can build from VS Code by running the *Run Build Task* command, then selecting an appropriate task such as *build* or *build current project* (the latter builds the containing project for the current file you're viewing in the editor).
4. You can run tests from VS Code by opening a test class in the editor, then using the *Run Tests in Context* and *Debug Tests in Context* editor commands. You may want to bind these commands to keyboard shortcuts that match their Visual Studio equivalents (**Ctrl+R, T** for *Run Tests in Context* and **Ctrl+R, Ctrl+T** for *Debug Tests in Context*).

Expand All @@ -23,14 +23,14 @@ To run all tests in a single project, it's recommended to use the `dotnet test p

## GitHub
The best way to clone and push is to use SSH. On Windows you typically use HTTPS and this is not directly compatible
with two factor authentication (requires a PAT). The SSH setup is much simpler and GitHub has a great HOWTO for
with two factor authentication (requires a PAT). The SSH setup is much simpler and GitHub has a great HOWTO for
getting this setup.

https://help.github.com/articles/connecting-to-github-with-ssh/

## Debugging test failures
The best way to debug is using lldb with the SOS plugin. This is the same SOS as used in WinDbg and if you're familiar
with it then lldb debugging will be pretty straight forward.
with it then lldb debugging will be pretty straight forward.

The [dotnet/diagnostics](https://github.com/dotnet/diagnostics) repo has more information:

Expand All @@ -45,10 +45,10 @@ CoreCLR also has some guidelines for specific Linux debugging scenarios:

Corrections:
- LLDB and createdump must be run as root
- `dotnet tool install -g dotnet-symbol` must be run from `$HOME`
- `dotnet tool install -g dotnet-symbol` must be run from `$HOME`

### Core Dumps
The CoreClr does not used the standard core dumping mechanisms on Linux. Instead you must specify via
The CoreClr does not used the standard core dumping mechanisms on Linux. Instead you must specify via
environment variables that you want a core dump to be produced. The simplest setup is to do the following:

```
Expand Down Expand Up @@ -79,12 +79,12 @@ indeed crashing in the GC.
Note: this variables can also be used on Windows as well.

## Ubuntu 18.04
The recommended OS for developing Roslyn is Ubuntu 18.04. This guide was written using Ubuntu 18.04 but should be
The recommended OS for developing Roslyn is Ubuntu 18.04. This guide was written using Ubuntu 18.04 but should be
applicable to most Linux environments. Ubuntu 18.04 was chosen here due to it's support for enhanced VMs in Hyper-V.
This makes it easier to use from a Windows machine: full screen, copy / paste, etc ...

### Hyper-V
Hyper-V has a builtin Ubuntu 18.04 image which supports enhanced mode. Here is a tutorial for creating
Hyper-V has a builtin Ubuntu 18.04 image which supports enhanced mode. Here is a tutorial for creating
such an image:

https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/quick-create-virtual-machine
Expand All @@ -93,10 +93,10 @@ When following this make sure to:
1. Click Installation Source and uncheck "Windows Secure Boot"
1. Complete the Ubuntu installation wizard. Full screen mode won't be available until this is done.

Overall this takes about 5-10 minutes to complete.
Overall this takes about 5-10 minutes to complete.

### Source Link
Many of the repositories that need to be built use source link and it crashes on Ubuntu 18.04 due to dependency changes.
Many of the repositories that need to be built use source link and it crashes on Ubuntu 18.04 due to dependency changes.
To disable source link add the following to the `Directory.Build.props` file in the root of the repository.

``` xml
Expand All @@ -109,6 +109,6 @@ To disable source link add the following to the `Directory.Build.props` file in
Make sure to install the following via `apt install`

- clang
- lldb
- lldb
- cmake
- xrdp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The minimal required version of .NET Framework is 4.7.2.
- Ensure Visual Studio is on Version "17.0" or greater
- Ensure "Use previews of the .NET Core SDK" is checked in Tools -> Options -> Environment -> Preview Features
- Restart Visual Studio
1. [.NET 6.0 RC 2 SDK](https://dotnet.microsoft.com/download/dotnet-core/6.0) [Windows x64 installer](https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-6.0.100-rc.2-windows-x64-installer)
1. [.NET 6.0 SDK](https://dotnet.microsoft.com/download/dotnet-core/6.0) [Windows x64 installer](https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-6.0.100-windows-x64-installer)
1. [PowerShell 5.0 or newer](https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell). If you are on Windows 10, you are fine; you'll only need to upgrade if you're on earlier versions of Windows. The download link is under the ["Upgrading existing Windows PowerShell"](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-windows-powershell?view=powershell-6#upgrading-existing-windows-powershell) heading.
1. Run Restore.cmd
1. Open Roslyn.sln
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/Compiler Test Plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This document provides guidance for thinking about language interactions and tes
- Ref return, ref readonly return, ref ternary, ref readonly local, ref local re-assignment, ref foreach
- `this = e;` in `struct` .ctor
- Stackalloc (including initializers)
- Patterns (constant, declaration, `var`, positional, property and extended property, discard, parenthesized, type, relational, `and`/`or`/`not`)
- Patterns (constant, declaration, `var`, positional, property and extended property, discard, parenthesized, type, relational, `and`/`or`/`not`, list, slice)
- Switch expressions
- With expressions (on record classes and on value types)
- Nullability annotations (`?`, attributes) and analysis
Expand Down
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.21559.3">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="7.0.0-beta.21569.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>fecf65bedcee9036b8ba9d8d7feef5413f294914</Sha>
<Sha>97463777ee9a8445d4a4c5911ede0f0cd71fa8aa</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.1.0-1.21553.8">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.1.0-2.21574.9">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>4ba1d9d2984e212af9d6ebff95dedb8a3739c661</Sha>
<Sha>16333a806a64c3546faf0320063b66ff32936eaa</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.21559.3">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="7.0.0-beta.21569.2">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>fecf65bedcee9036b8ba9d8d7feef5413f294914</Sha>
<Sha>97463777ee9a8445d4a4c5911ede0f0cd71fa8aa</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
19 changes: 15 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<MajorVersion>4</MajorVersion>
<MinorVersion>1</MinorVersion>
<PatchVersion>0</PatchVersion>
<PreReleaseVersionLabel>2</PreReleaseVersionLabel>
<PreReleaseVersionLabel>3</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>4.1.0-1.21553.8</MicrosoftNetCompilersToolsetVersion>
<MicrosoftNetCompilersToolsetVersion>4.1.0-2.21574.9</MicrosoftNetCompilersToolsetVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Versions used by several individual references below -->
Expand Down Expand Up @@ -56,11 +56,11 @@
<BasicReferenceAssembliesNetStandard13Version>1.2.4</BasicReferenceAssembliesNetStandard13Version>
<BenchmarkDotNetVersion>0.13.0</BenchmarkDotNetVersion>
<BenchmarkDotNetDiagnosticsWindowsVersion>0.13.0</BenchmarkDotNetDiagnosticsWindowsVersion>
<DiffPlexVersion>1.4.4</DiffPlexVersion>
<DiffPlexVersion>1.5.0</DiffPlexVersion>
<FakeSignVersion>0.9.2</FakeSignVersion>
<HumanizerCoreVersion>2.2.0</HumanizerCoreVersion>
<ICSharpCodeDecompilerVersion>6.1.0.5902</ICSharpCodeDecompilerVersion>
<MicrosoftBuildLocatorVersion>1.2.6</MicrosoftBuildLocatorVersion>
<MicrosoftBuildLocatorVersion>1.4.1</MicrosoftBuildLocatorVersion>
<!--
SourceBuild will requires that all dependencies also be source buildable. We are referencing a
version of MSBuild that is not SourceBuild compatible, which makes our build incompatible. Since we only
Expand Down Expand Up @@ -202,6 +202,17 @@
<RoslynBuildUtilVersion>0.9.8-beta</RoslynBuildUtilVersion>
<RoslynDependenciesOptimizationDataVersion>3.0.0-beta2-19053-01</RoslynDependenciesOptimizationDataVersion>
<RoslynDiagnosticsAnalyzersVersion>$(RoslynDiagnosticsNugetPackageVersion)</RoslynDiagnosticsAnalyzersVersion>
<!--
The package "Microsoft.CodeAnalysis.Analyzer.Testing" brings in an earlier version of these NuGet dependencies than
is expected by the NET SDK used in the Workspace.MSBuild UnitTests. In order to test against the same verion of NuGet
as our configured SDK, we must set the version to be the same.
-->
<NuGetCommonVersion>6.0.0</NuGetCommonVersion>
<NuGetConfigurationVersion>$(NuGetCommonVersion)</NuGetConfigurationVersion>
<NuGetFrameworksVersion>$(NuGetCommonVersion)</NuGetFrameworksVersion>
<NuGetPackagingVersion>$(NuGetCommonVersion)</NuGetPackagingVersion>
<NuGetProtocolVersion>$(NuGetCommonVersion)</NuGetProtocolVersion>
<NuGetVersioningVersion>$(NuGetCommonVersion)</NuGetVersioningVersion>
<RoslynToolsVSIXExpInstallerVersion>1.1.0-beta3.21418.3</RoslynToolsVSIXExpInstallerVersion>
<RoslynMicrosoftVisualStudioExtensionManagerVersion>0.0.4</RoslynMicrosoftVisualStudioExtensionManagerVersion>
<SourceBrowserVersion>1.0.21</SourceBrowserVersion>
Expand Down
2 changes: 1 addition & 1 deletion eng/common/darc-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fi
function InstallDarcCli {
local darc_cli_package_name="microsoft.dotnet.darc"

InitializeDotNetCli
InitializeDotNetCli true
local dotnet_root=$_InitializeDotNetCli

if [ -z "$toolpath" ]; then
Expand Down
2 changes: 1 addition & 1 deletion eng/common/sdl/execute-all-sdl-tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ try {
Exec-BlockVerbosely {
& $(Join-Path $PSScriptRoot 'run-sdl.ps1') `
-GuardianCliLocation $guardianCliLocation `
-WorkingDirectory $workingDirectory `
-WorkingDirectory $SourceDirectory `
-UpdateBaseline $UpdateBaseline `
-GdnFolder $gdnFolder
}
Expand Down
Loading