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' into RefStructInterfaces #73478

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
921 commits
Select commit Hold shift + click to select a range
c01be5e
Update tests
CyrusNajmabadi May 8, 2024
522b66a
Cleanup code
CyrusNajmabadi May 8, 2024
c0a3973
Merge pull request #73383 from CyrusNajmabadi/cleanupSyntax
CyrusNajmabadi May 8, 2024
73fe5f3
Merge branch 'main' into cleanupParallel
CyrusNajmabadi May 8, 2024
a5ee414
Use helper
CyrusNajmabadi May 8, 2024
b8b6a0d
Merge pull request #73391 from CyrusNajmabadi/usePatternFix
CyrusNajmabadi May 8, 2024
688fa6f
More parallel
CyrusNajmabadi May 8, 2024
e42a945
Add helper
CyrusNajmabadi May 8, 2024
57e9943
Share code
CyrusNajmabadi May 8, 2024
5dfe9ee
Merge remote-tracking branch 'upstream/main' into cleanupParallel
CyrusNajmabadi May 8, 2024
b77e7d9
Fixup feature tests
CyrusNajmabadi May 8, 2024
7de9185
Simplify
CyrusNajmabadi May 8, 2024
d1437df
Fix issue with improper formatting in introduce-variable
CyrusNajmabadi May 8, 2024
6973de7
Fix test
CyrusNajmabadi May 8, 2024
964b677
Merge branch 'introVarFormatting' into cleanupParallel
CyrusNajmabadi May 8, 2024
333e6df
Cleanup
CyrusNajmabadi May 8, 2024
88ed323
inline method
CyrusNajmabadi May 8, 2024
d10a8c1
Don't root documents
CyrusNajmabadi May 8, 2024
efb7a2b
Fixes
CyrusNajmabadi May 8, 2024
6e78281
Simplify
CyrusNajmabadi May 8, 2024
0f6439c
Only process roslyn docs with trees
CyrusNajmabadi May 8, 2024
c76dd4e
Simplify
CyrusNajmabadi May 8, 2024
4b47c49
Make helper
CyrusNajmabadi May 8, 2024
a203ee6
Share code
CyrusNajmabadi May 8, 2024
bb28d31
cleanup
CyrusNajmabadi May 8, 2024
5b01471
in progress
CyrusNajmabadi May 8, 2024
6d52ccb
Simplify
CyrusNajmabadi May 8, 2024
cdf1375
Cleanup
CyrusNajmabadi May 8, 2024
2d535e6
No need for check
CyrusNajmabadi May 8, 2024
334606e
Simplify
CyrusNajmabadi May 8, 2024
5f3d8e4
Proper nrt
CyrusNajmabadi May 8, 2024
6d439cc
Make private
CyrusNajmabadi May 8, 2024
8a07c5f
Docs
CyrusNajmabadi May 8, 2024
316d473
Simplify
CyrusNajmabadi May 8, 2024
6b881cf
Simplify
CyrusNajmabadi May 8, 2024
af1bd47
Break out file
CyrusNajmabadi May 8, 2024
d056c8b
Move back
CyrusNajmabadi May 8, 2024
de6a2bb
inline
CyrusNajmabadi May 8, 2024
d4b3936
Merge pull request #73392 from CyrusNajmabadi/introVarFormatting
CyrusNajmabadi May 8, 2024
c0ef482
Merge pull request #73386 from CyrusNajmabadi/cleanupParallel
CyrusNajmabadi May 8, 2024
763fcb1
In progress
CyrusNajmabadi May 8, 2024
a39098d
Merge branch 'main' into updateDocumentsAtOnce
CyrusNajmabadi May 8, 2024
77c88b3
update roots in parallel
CyrusNajmabadi May 8, 2024
e2cf63f
Use new helper
CyrusNajmabadi May 8, 2024
3e2eceb
Use new helper
CyrusNajmabadi May 8, 2024
e2cf7c7
Update source texts as well
CyrusNajmabadi May 8, 2024
90c3529
Simplify
CyrusNajmabadi May 8, 2024
b124c65
Simplify
CyrusNajmabadi May 8, 2024
a1bec84
Use null for diagnostic ExpandedMessage so the client falls back appr…
dibarbet May 8, 2024
8d017b9
Simplify
CyrusNajmabadi May 8, 2024
2161fd2
remove method and rename
CyrusNajmabadi May 8, 2024
1c3bbe2
Bulk apply
CyrusNajmabadi May 8, 2024
9c9420d
Merge pull request #73394 from CyrusNajmabadi/updateDocumentsAtOnce
CyrusNajmabadi May 8, 2024
385732f
use helper
CyrusNajmabadi May 8, 2024
e14e32a
Remove compile-time dependency from Workspace.MSBuild on Workspace.MS…
tmat May 8, 2024
de2d16c
Merge remote-tracking branch 'upstream/main' into updateDocumentsAtOnce
CyrusNajmabadi May 8, 2024
877cd52
Share code
CyrusNajmabadi May 8, 2024
40e0a1c
use new helper
CyrusNajmabadi May 8, 2024
d83aace
use new helper
CyrusNajmabadi May 9, 2024
293671a
use new helper
CyrusNajmabadi May 9, 2024
f0cae2c
use new helper
CyrusNajmabadi May 9, 2024
6112c58
Merge pull request #73395 from dibarbet/fix_expanded_message
dibarbet May 9, 2024
c07e1c7
simplify
CyrusNajmabadi May 9, 2024
f8b5f15
simplify
CyrusNajmabadi May 9, 2024
1ef30bd
use helper
CyrusNajmabadi May 9, 2024
26231b9
use helper
CyrusNajmabadi May 9, 2024
3f86104
helper
CyrusNajmabadi May 9, 2024
d1260da
use helper
CyrusNajmabadi May 9, 2024
efc2a15
use helper
CyrusNajmabadi May 9, 2024
47f4a96
use helper
CyrusNajmabadi May 9, 2024
cbc0df0
use helper
CyrusNajmabadi May 9, 2024
a870326
use helper
CyrusNajmabadi May 9, 2024
4d8b8a6
Merge touch document actions
CyrusNajmabadi May 9, 2024
a9559f6
Merge pull request #73396 from CyrusNajmabadi/updateDocumentsAtOnce
CyrusNajmabadi May 9, 2024
bd4bf01
Merge remote-tracking branch 'upstream/main' into touchDocuments
CyrusNajmabadi May 9, 2024
c23414e
Fix overload resolution regression around params parameters (#73373)
AlekseyTs May 9, 2024
8b7d080
EnC: workaround for empty display class (#73366)
tmat May 9, 2024
325dedb
Add variable group
Cosifne May 9, 2024
8cd5d5e
Fix Double-to-Long overflow check (#73016)
MichaelJLiu May 9, 2024
3aeb9bb
Merge pull request #73404 from dotnet/merges/release/dev17.10-to-rele…
dotnet-bot May 9, 2024
c99909b
Merge pull request #73399 from CyrusNajmabadi/touchDocuments
CyrusNajmabadi May 9, 2024
abca483
Merge pull request #72968 from dotnet/darc-main-c3941f26-d77f-454d-a4…
Cosifne May 9, 2024
7400a8c
Merge pull request #73406 from Cosifne/dev/shech/AddAzureDevOps-Artif…
Cosifne May 9, 2024
bf40609
Improve fix-all progress bar experience
CyrusNajmabadi May 9, 2024
cb14a1d
Merge pull request #73414 from dotnet/merges/release/dev17.11-to-main
dotnet-bot May 9, 2024
7b8f135
Merge pull request #73340 from CyrusNajmabadi/grammarUpdates
CyrusNajmabadi May 9, 2024
095bde2
Enable hosts to provide custom assembly resolution (#73185)
chsienki May 9, 2024
fc36883
Merge pull request #73412 from CyrusNajmabadi/fixALlProgress
CyrusNajmabadi May 10, 2024
715d05e
Fix issues with JTF blocking in codemodel
CyrusNajmabadi May 10, 2024
d52ab04
Update src/VisualStudio/Core/Impl/CodeModel/RootCodeModel.cs
CyrusNajmabadi May 10, 2024
f512276
CA(true)
CyrusNajmabadi May 10, 2024
91b4d2b
Merge branch 'jtfCodeModel' of https://github.com/CyrusNajmabadi/rosl…
CyrusNajmabadi May 10, 2024
d4febc4
fix
CyrusNajmabadi May 10, 2024
19c7e71
Merge pull request #73419 from CyrusNajmabadi/jtfCodeModel
CyrusNajmabadi May 10, 2024
18614bc
Continue visiting bad named argument if not target-typed in NullableW…
jjonescz May 10, 2024
e754fb9
Switch to immutable array
CyrusNajmabadi May 10, 2024
f876667
Switch to line changes
CyrusNajmabadi May 10, 2024
9b3fe96
Switch to list
CyrusNajmabadi May 10, 2024
33b9685
Switch to list
CyrusNajmabadi May 10, 2024
f9ac16b
Simplify
CyrusNajmabadi May 10, 2024
8569d9d
Use array
CyrusNajmabadi May 10, 2024
7ece11a
Stronger type
CyrusNajmabadi May 10, 2024
6365421
builder
CyrusNajmabadi May 10, 2024
3219183
Get off ienumerables
CyrusNajmabadi May 10, 2024
5c58359
Downstream
CyrusNajmabadi May 10, 2024
138049f
Fix accessibility
CyrusNajmabadi May 10, 2024
f754a6c
Avoid LOH allocation in text synchronizatin
CyrusNajmabadi May 10, 2024
ddad624
Add back length check
CyrusNajmabadi May 10, 2024
6a4e3a8
Merge branch 'synchronizeLOH' into diffMergeLOH
CyrusNajmabadi May 10, 2024
7c563f6
Update src/Workspaces/Core/Portable/LinkedFileDiffMerging/LinkedFileD…
CyrusNajmabadi May 10, 2024
6244809
nrt
CyrusNajmabadi May 10, 2024
594cd94
Merge branch 'diffMergeLOH' of https://github.com/CyrusNajmabadi/rosl…
CyrusNajmabadi May 10, 2024
6f8a46b
Fixup encapsulate field
CyrusNajmabadi May 10, 2024
2e191c8
Cleanup
CyrusNajmabadi May 10, 2024
450e0a9
Cleanup
CyrusNajmabadi May 10, 2024
940ce0f
Test fixes
CyrusNajmabadi May 10, 2024
30674f4
Test fixes
CyrusNajmabadi May 10, 2024
d446cb8
Cleanup
CyrusNajmabadi May 10, 2024
531a9d5
Make readonly
CyrusNajmabadi May 10, 2024
b977b81
Do less work computing diffs
CyrusNajmabadi May 10, 2024
c16b370
use GetOrAdd helper
CyrusNajmabadi May 10, 2024
e56e938
prefilter
CyrusNajmabadi May 10, 2024
278890b
Correct capacity
CyrusNajmabadi May 10, 2024
4a11fe5
fix
CyrusNajmabadi May 10, 2024
9ff8cf9
Pooling
CyrusNajmabadi May 10, 2024
9105478
arrays
CyrusNajmabadi May 10, 2024
dd1929d
Simplify
CyrusNajmabadi May 10, 2024
5f50d40
Optimize
CyrusNajmabadi May 10, 2024
bfd0287
more immutable'
CyrusNajmabadi May 10, 2024
bb7da34
optimize
CyrusNajmabadi May 10, 2024
03dc969
free pooled stuff
CyrusNajmabadi May 10, 2024
5cfd5dc
Remove unreported telemetry
CyrusNajmabadi May 10, 2024
dc069e0
Cleanup
CyrusNajmabadi May 10, 2024
acfa57a
implement
CyrusNajmabadi May 10, 2024
2bf8bc6
Cleanup
CyrusNajmabadi May 10, 2024
545729c
rename
CyrusNajmabadi May 10, 2024
7dd6ad3
Simplify
CyrusNajmabadi May 10, 2024
f30cd90
Readonly
CyrusNajmabadi May 10, 2024
6f6f62a
struct
CyrusNajmabadi May 10, 2024
22cd422
struct
CyrusNajmabadi May 10, 2024
b38278a
struct
CyrusNajmabadi May 10, 2024
5fadd38
comment
CyrusNajmabadi May 10, 2024
74044a8
simplify
CyrusNajmabadi May 10, 2024
e959eb8
comment
CyrusNajmabadi May 10, 2024
4bbcd1d
Revert "Move AsyncBatchingWorkQueue usage in telemetry to TelemetryLo…
arunchndr May 10, 2024
324e078
Merge pull request #73432 from dotnet/revert-73287-TelemetryFlushUsin…
arunchndr May 10, 2024
f764085
Make placement of raw string guide line independent of the space char…
DoctorKrolic May 11, 2024
63b6d15
Merge branch 'dotnet:main' into raw-string-guide-line-placement
DoctorKrolic May 12, 2024
8bdd497
Port C# "Invert if" refactoring tests to `VerifyCS`
DoctorKrolic May 12, 2024
6449f1e
Port VB
DoctorKrolic May 12, 2024
99f2c59
Port VB
DoctorKrolic May 12, 2024
e5f023c
Small tweaks to speed up ctrl-click
CyrusNajmabadi May 13, 2024
0dc5ade
move location
CyrusNajmabadi May 13, 2024
9c06d9b
REvert
CyrusNajmabadi May 13, 2024
fac6cd6
Simplify
CyrusNajmabadi May 13, 2024
c2338d6
Merge pull request #73425 from CyrusNajmabadi/synchronizeLOH
CyrusNajmabadi May 13, 2024
de0af4d
Merge pull request #73424 from CyrusNajmabadi/diffMergeLOH
CyrusNajmabadi May 13, 2024
f52d2f0
Merge pull request #73430 from CyrusNajmabadi/lessWork
CyrusNajmabadi May 13, 2024
b6ab47d
Merge pull request #73442 from CyrusNajmabadi/speedupCtrlClick
CyrusNajmabadi May 13, 2024
1e0edc4
Merge pull request #73440 from DoctorKrolic/verify-invert-if
CyrusNajmabadi May 13, 2024
ccf960d
Merge pull request #73435 from DoctorKrolic/raw-string-guide-line-pla…
CyrusNajmabadi May 13, 2024
d3ea419
Add dynamic registration for razor and cshtml files (#73369)
ryzngard May 13, 2024
57d67af
Improve memory allocs in interval trees
CyrusNajmabadi May 13, 2024
0b537d5
Share code
CyrusNajmabadi May 13, 2024
1003a4e
Share code
CyrusNajmabadi May 13, 2024
8d0ca6c
Simplify
CyrusNajmabadi May 13, 2024
43bf60d
Simplify
CyrusNajmabadi May 13, 2024
54f589b
PRoduce less string allocs while formatting documents
CyrusNajmabadi May 13, 2024
a7e17c1
Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Coll…
CyrusNajmabadi May 13, 2024
f906b4e
Optimize suppress operations
CyrusNajmabadi May 13, 2024
731a302
Downstream
CyrusNajmabadi May 13, 2024
cad6075
Downstream
CyrusNajmabadi May 13, 2024
bdf5fff
Remove array allocations
CyrusNajmabadi May 13, 2024
4c054c5
more arrays
CyrusNajmabadi May 13, 2024
f02b7de
more arrays
CyrusNajmabadi May 13, 2024
b10e83b
more arrays
CyrusNajmabadi May 13, 2024
61a050d
more arrays
CyrusNajmabadi May 13, 2024
e2c91b3
more arrays
CyrusNajmabadi May 13, 2024
2f2e3ee
more arrays
CyrusNajmabadi May 13, 2024
b35b481
more arrays
CyrusNajmabadi May 13, 2024
ff47eec
more arrays
CyrusNajmabadi May 13, 2024
8b5d1a2
more arrays
CyrusNajmabadi May 13, 2024
0c06c31
Merge pull request #73451 from CyrusNajmabadi/memAllocs2
CyrusNajmabadi May 13, 2024
664395b
Cache
CyrusNajmabadi May 13, 2024
3e45d72
Merge pull request #73452 from CyrusNajmabadi/formattingStrings
CyrusNajmabadi May 13, 2024
5617542
Formatting
CyrusNajmabadi May 13, 2024
1b62670
Merge remote-tracking branch 'upstream/main' into arrayAllocs
CyrusNajmabadi May 13, 2024
4c97927
Arrays
CyrusNajmabadi May 13, 2024
7c5115d
inline
CyrusNajmabadi May 13, 2024
49422b8
inline
CyrusNajmabadi May 13, 2024
960f7ad
inline
CyrusNajmabadi May 13, 2024
981b6aa
inline
CyrusNajmabadi May 13, 2024
be76b21
Docs
CyrusNajmabadi May 13, 2024
74093fd
Merge pull request #73456 from CyrusNajmabadi/suppressionOperations
CyrusNajmabadi May 13, 2024
db8efa8
Simplify
CyrusNajmabadi May 13, 2024
e97fcbe
switch to tuple
CyrusNajmabadi May 13, 2024
773d222
Fix
CyrusNajmabadi May 13, 2024
f087e25
Fix
CyrusNajmabadi May 13, 2024
0782259
Fix lint
CyrusNajmabadi May 14, 2024
9b6dd87
Merge pull request #73458 from CyrusNajmabadi/arrayAllocs
CyrusNajmabadi May 14, 2024
60cc971
Properly dispose the SymbolSearchEngine
CyrusNajmabadi May 14, 2024
3738d09
Remove unused parts of RemoteHostClient
CyrusNajmabadi May 14, 2024
cc82c05
Test local functions with goto out of scope (#73402)
jjonescz May 14, 2024
0396154
Add "First-class Span Types" feature status (#73446)
jjonescz May 14, 2024
874a204
Stop overbuilding SemanticSearch.ReferenceAssemblies (#73468)
ViktorHofer May 14, 2024
b3d9ff7
Merge pull request #73466 from CyrusNajmabadi/cleanupClient
CyrusNajmabadi May 14, 2024
c1e2051
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
97798ed
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
b35cea5
Switch to producer/consumer
CyrusNajmabadi May 14, 2024
f6ac611
Cleanup
CyrusNajmabadi May 14, 2024
9d4f015
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
1313b36
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
db635f3
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
093fb96
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
adfac45
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
25318ba
Switch to cleaner patterns than explicit Task.Run
CyrusNajmabadi May 14, 2024
ae306f1
Switch to producer/consumer
CyrusNajmabadi May 14, 2024
50fd48a
move to roslynparallel
CyrusNajmabadi May 14, 2024
23c6a2d
Simplify
CyrusNajmabadi May 14, 2024
858a25d
Add back
CyrusNajmabadi May 14, 2024
1a2f73f
Move off UI thread
CyrusNajmabadi May 14, 2024
d99e593
remove unread local
CyrusNajmabadi May 14, 2024
2b2eb57
Move off UI thread
CyrusNajmabadi May 14, 2024
0ee5ff4
Switch to explicit parallel
CyrusNajmabadi May 14, 2024
cf5b7ff
Switch to explicit parallel
CyrusNajmabadi May 14, 2024
7c4a99a
move off of task.run
CyrusNajmabadi May 14, 2024
20fccbc
Switch to explicit parallel
CyrusNajmabadi May 14, 2024
65ce70b
move off of task.run
CyrusNajmabadi May 14, 2024
26db6c5
Fix logic
CyrusNajmabadi May 14, 2024
6494491
Switch to producer consumer
CyrusNajmabadi May 14, 2024
f85f1b2
Remove virtual from 'SourceMethodSymbolWithAttributes.SyntaxNode' (#…
RikkiGibson May 14, 2024
a944cf8
Switch to callback style
CyrusNajmabadi May 14, 2024
6ce65bc
Fix comment
CyrusNajmabadi May 14, 2024
b303702
swithc how we yield
CyrusNajmabadi May 14, 2024
4c609b3
revert
CyrusNajmabadi May 14, 2024
5e5e448
Switch to producer consumer
CyrusNajmabadi May 14, 2024
4dbbe08
Add comment
CyrusNajmabadi May 14, 2024
1564065
Make private
CyrusNajmabadi May 14, 2024
f0950dd
Add back
CyrusNajmabadi May 14, 2024
f74d018
Simplify state
CyrusNajmabadi May 14, 2024
04dcd37
Remove ct
CyrusNajmabadi May 14, 2024
5f6d8d2
Avoid hashset
CyrusNajmabadi May 14, 2024
b42c857
One distinct call
CyrusNajmabadi May 14, 2024
51378df
Merge remote-tracking branch 'upstream/main' into taskRun
CyrusNajmabadi May 14, 2024
5a5da6f
primary constructors
CyrusNajmabadi May 14, 2024
2577230
Update local deployment instructions (#73417)
jcouv May 14, 2024
cd8d28f
Merge pull request #73464 from CyrusNajmabadi/properDispose
CyrusNajmabadi May 14, 2024
fe5edeb
Merge pull request #73471 from CyrusNajmabadi/taskRun
CyrusNajmabadi May 14, 2024
0a0da2d
Net9 Reference Assemblies (#73423)
jaredpar May 14, 2024
e0cf96f
Merge 'main' into RefStructInterfaces
AlekseyTs May 14, 2024
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
  •  
  •  
  •  
37 changes: 37 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,19 @@
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build Roslyn.sln",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"-p:RunAnalyzersDuringBuild=false",
"-p:GenerateFullPaths=true",
"Roslyn.sln"
],
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build current project",
"type": "shell",
Expand Down Expand Up @@ -123,6 +136,30 @@
},
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build language server",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"-c",
"Debug",
"src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Microsoft.CodeAnalysis.LanguageServer.csproj"
],
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "launch vscode with language server",
"command": "${execPath}",
"type": "process",
"options": {
"env": {
"DOTNET_ROSLYN_SERVER_PATH": "${workspaceRoot}/artifacts/bin/Microsoft.CodeAnalysis.LanguageServer/Debug/net8.0/Microsoft.CodeAnalysis.LanguageServer.dll"
}
},
"dependsOn": [ "build language server" ]
}
]
}
2 changes: 2 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ variables:
- name: ArtifactServices.Drop.PAT
value: $(dn-bot-devdiv-drop-rw-code-rw)
- group: DotNet-Roslyn-Insertion-Variables
- group: AzureDevOps-Artifact-Feeds-Pats

- name: BuildConfiguration
value: release
Expand Down Expand Up @@ -149,6 +150,7 @@ extends:
dropFolder: 'artifacts\VSSetup\$(BuildConfiguration)\Insertion'
dropName: $(VisualStudio.DropName)
accessToken: $(_DevDivDropAccessToken)
dropRetentionDays: 90

# Publish insertion packages to CoreXT store.
- output: nuget
Expand Down
17 changes: 9 additions & 8 deletions docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ efforts behind them.

| Feature | Branch | State | Developer | Reviewer | IDE Buddy | LDM Champ |
| ------- | ------ | ----- | --------- | -------- | --------- | --------- |
| [Partial properties](https://github.com/dotnet/csharplang/issues/6420) | [partial-properties](https://github.com/dotnet/roslyn/tree/features/partial-properties) | [In Progress](https://github.com/dotnet/roslyn/issues/73090) | [RikkiGibson](https://github.com/RikkiGibson) | [jcouv](https://github.com/jcouv), [333fred](https://github.com/333fred) | TBD | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) |
| Ref/unsafe in iterators/async | [RefInAsync](https://github.com/dotnet/roslyn/tree/features/RefInAsync) | [In Progress](https://github.com/dotnet/roslyn/issues/72662) | [jjonescz](https://github.com/jjonescz) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | [ToddGrun](https://github.com/ToddGrun) | |
| [First-class Span Types](https://github.com/dotnet/csharplang/issues/7905) | [FirstClassSpan](https://github.com/dotnet/roslyn/tree/features/FirstClassSpan) | [In Progress](https://github.com/dotnet/roslyn/issues/73445) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [333fred](https://github.com/333fred) | | [333fred](https://github.com/333fred), [stephentoub](https://github.com/stephentoub) |
| [Partial properties](https://github.com/dotnet/csharplang/issues/6420) | [partial-properties](https://github.com/dotnet/roslyn/tree/features/partial-properties) | [In Progress](https://github.com/dotnet/roslyn/issues/73090) | [RikkiGibson](https://github.com/RikkiGibson) | [jcouv](https://github.com/jcouv), [333fred](https://github.com/333fred) | [Cosifne](https://github.com/Cosifne) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) |
| Ref/unsafe in iterators/async | [RefInAsync](https://github.com/dotnet/roslyn/tree/features/RefInAsync) | [In Progress](https://github.com/dotnet/roslyn/issues/72662) | [jjonescz](https://github.com/jjonescz) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | |
| [Ref Struct Interfaces](https://github.com/dotnet/csharplang/issues/7608) | [RefStructInterfaces](https://github.com/dotnet/roslyn/tree/features/RefStructInterfaces) | [In Progress](https://github.com/dotnet/roslyn/issues/72124) | [AlekseyTs](https://github.com/AlekseyTs) | [cston](https://github.com/cston), [jjonescz](https://github.com/jjonescz) | [ToddGrun](https://github.com/ToddGrun) | [agocke](https://github.com/agocke), [jaredpar](https://github.com/jaredpar) |
| [Semi-auto-properties](https://github.com/dotnet/csharplang/issues/140) | [semi-auto-props](https://github.com/dotnet/roslyn/tree/features/semi-auto-props) | [In Progress](https://github.com/dotnet/roslyn/issues/57012) | [Youssef1313](https://github.com/Youssef1313) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) | | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Semi-auto-properties](https://github.com/dotnet/csharplang/issues/140) | [semi-auto-props](https://github.com/dotnet/roslyn/tree/features/semi-auto-props) | [In Progress](https://github.com/dotnet/roslyn/issues/57012) | [Youssef1313](https://github.com/Youssef1313) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Default in deconstruction](https://github.com/dotnet/roslyn/pull/25562) | [decon-default](https://github.com/dotnet/roslyn/tree/features/decon-default) | [In Progress](https://github.com/dotnet/roslyn/issues/25559) | [jcouv](https://github.com/jcouv) | [gafter](https://github.com/gafter) | | [jcouv](https://github.com/jcouv) |
| [Roles/Extensions](https://github.com/dotnet/csharplang/issues/5497) | [roles](https://github.com/dotnet/roslyn/tree/features/roles) | [In Progress](https://github.com/dotnet/roslyn/issues/66722) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [jjonescz](https://github.com/jjonescz) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [MadsTorgersen](https://github.com/MadsTorgersen) |
| [Escape character](https://github.com/dotnet/csharplang/issues/7400) | N/A | [Merged into 17.9p1](https://github.com/dotnet/roslyn/pull/70497) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [jcouv](https://github.com/jcouv), [RikkiGibson](https://github.com/RikkiGibson) | | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Method group natural type improvements](https://github.com/dotnet/csharplang/blob/main/proposals/method-group-natural-type-improvements.md) | main | [Merged into 17.9p2](https://github.com/dotnet/roslyn/issues/69432) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | | [jcouv](https://github.com/jcouv) |
| [`Lock` object](https://github.com/dotnet/csharplang/issues/7104) | [LockObject](https://github.com/dotnet/roslyn/tree/features/LockObject) | [Merged into 17.10p2](https://github.com/dotnet/roslyn/issues/71888) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | | [stephentoub](https://github.com/stephentoub) |
| Implicit indexer access in object initializers | main | [Merged into 17.9p3](https://github.com/dotnet/roslyn/pull/70649) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | | |
| [Params-collections](https://github.com/dotnet/csharplang/issues/7700) | main | [Merged to 17.10p3](https://github.com/dotnet/roslyn/issues/71137) | [AlekseyTs](https://github.com/AlekseyTs) | [RikkiGibson](https://github.com/RikkiGibson), [333fred](https://github.com/333fred) | [akhera99](https://github.com/akhera99) | [MadsTorgersen](https://github.com/MadsTorgersen), [AlekseyTs](https://github.com/AlekseyTs) |
| [Escape character](https://github.com/dotnet/csharplang/issues/7400) | N/A | [Merged into 17.9p1](https://github.com/dotnet/roslyn/pull/70497) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [jcouv](https://github.com/jcouv), [RikkiGibson](https://github.com/RikkiGibson) | (no IDE impact) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Method group natural type improvements](https://github.com/dotnet/csharplang/blob/main/proposals/method-group-natural-type-improvements.md) | main | [Merged into 17.9p2](https://github.com/dotnet/roslyn/issues/69432) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | [jcouv](https://github.com/jcouv) |
| [`Lock` object](https://github.com/dotnet/csharplang/issues/7104) | [LockObject](https://github.com/dotnet/roslyn/tree/features/LockObject) | [Merged into 17.10p2](https://github.com/dotnet/roslyn/issues/71888) | [jjonescz](https://github.com/jjonescz) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) (needs IDE fixer) | [stephentoub](https://github.com/stephentoub) |
| Implicit indexer access in object initializers | main | [Merged into 17.9p3](https://github.com/dotnet/roslyn/pull/70649) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [cston](https://github.com/cston) | (no IDE impact) | |
| [Params-collections](https://github.com/dotnet/csharplang/issues/7700) | main | [Merged to 17.10p3](https://github.com/dotnet/roslyn/issues/71137) | [AlekseyTs](https://github.com/AlekseyTs) | [RikkiGibson](https://github.com/RikkiGibson), [333fred](https://github.com/333fred) | [akhera99](https://github.com/akhera99) (needs IDE fixer) | [MadsTorgersen](https://github.com/MadsTorgersen), [AlekseyTs](https://github.com/AlekseyTs) |

# C# 12.0

Expand Down
28 changes: 28 additions & 0 deletions docs/compilers/CSharp/Compiler Breaking Changes - DotNet 8.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,34 @@ public class C
}
```

## Collection expression for type implementing `IEnumerable` must have elements implicitly convertible to `object`

***Introduced in Visual Studio 2022 version 17.10***

*Conversion* of a collection expression to a `struct` or `class` that implements `System.Collections.IEnumerable` and *does not* have a strongly-typed `GetEnumerator()`
requires the elements in the collection expression are implicitly convertible to the `object`.
Previously, the elements of a collection expression targeting an `IEnumerable` implementation were assumed to be convertible to `object`, and converted only when binding to the applicable `Add` method.

This additional requirement means that collection expression conversions to `IEnumerable` implementations are treated consistently with other target types where the elements in the collection expression must be implicitly convertible to the *iteration type* of the target type.

This change affects collection expressions targeting `IEnumerable` implementations where the elements rely on target-typing to a strongly-typed `Add` method parameter type.
In the example below, an error is reported that `_ => { }` cannot be implicitly converted to `object`.
```csharp
class Actions : IEnumerable
{
public void Add(Action<int> action);
// ...
}

Actions a = [_ => { }]; // error CS8917: The delegate type could not be inferred.
```

To resolve the error, the element expression could be explicitly typed.
```csharp
a = [(int _) => { }]; // ok
a = [(Action<int>)(_ => { })]; // ok
```

## Collection expression target type must have constructor and `Add` method

***Introduced in Visual Studio 2022 version 17.10***
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Particularly for developers who aren't experienced with .NET Core development on
1. Install the [.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) which matches the `sdk.version` property in [global.json](../../global.json#L3)
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*).
5. You can launch a new VS Code instance with the language server from your current code by running the "launch vscode with language server" task.

## Running Tests
The unit tests can be executed by running `./build.sh --test`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ give it a try.
### Deploying with command-line (recommended method)

You can build and deploy with the following command:
`.\Build.cmd -Configuration Release -deployExtensions -launch`.
`.\Build.cmd -Restore -Configuration Release -deployExtensions -launch`.

Then you can launch the `RoslynDev` hive with `devenv /rootSuffix RoslynDev`.

Expand Down
21 changes: 21 additions & 0 deletions docs/wiki/EnC-Supported-Edits.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,24 @@ This document captures the current state. Potential future improvements in this
| Edit a member referencing an embedded interop type | - |
| Edit a member with On Error or Resume statements | Specific to Visual Basic |
| Edit a member containing an Aggregate, Group By, Simple Join, or Group Join LINQ query clause | Specific to Visual Basic |
| Edit in a solution containing projects that specify `*` in `AssemblyVersionAttribute`, e.g. `[assembly: AssemblyVersion("1.0.*")`]. | See [workaround](#projects-with-variable-assembly-versions) below. |

### Projects with variable assembly versions

Hot Reload and Edit & Continue are not compatible with using `*` in `AssemblyVersionAttribute` value. Presence of `*` in the version means that the compiler generates a new version
every build based on the current time. The build then produces non-reproducible, non-deterministic outputs (see [Reproducible Builds](https://reproducible-builds.org)).

It is thus highly recommended to use alternative versioning methods, such as [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning), that derive the assembly version
from the HEAD commit SHA (for git repositories).

> To enable generating commit SHA based assembly versions using `Nerdbank.GitVersioning` package, specify `{ "assemblyVersion" : {"precision": "revision"} }` setting in `version.json`.

If you prefer to keep using `*` in `AssemblyVersionAttribute` it is recommended to use conditional compilation directive to only apply such version to Release builds like so:

```C#
#if DEBUG
[assembly: AssemblyVersion("1.0.0.0")]
#else
[assembly: AssemblyVersion("1.0.*")]
#endif
```
16 changes: 9 additions & 7 deletions eng/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview.23468.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.24121.1</MicrosoftCodeAnalysisTestingVersion>
<MicrosoftVisualStudioExtensibilityTestingVersion>0.1.187-beta</MicrosoftVisualStudioExtensibilityTestingVersion>
<_BasicReferenceAssembliesVersion>1.7.2</_BasicReferenceAssembliesVersion>
<!-- CodeStyleAnalyzerVersion should we updated together with version of dotnet-format in dotnet-tools.json -->
<CodeStyleAnalyzerVersion>4.8.0-3.final</CodeStyleAnalyzerVersion>
<VisualStudioEditorPackagesVersion>17.10.72-preview</VisualStudioEditorPackagesVersion>
Expand Down Expand Up @@ -293,13 +294,14 @@
<PackageVersion Include="runtime.linux-x64.Microsoft.NETCore.ILAsm" Version="$(ILAsmPackageVersion)" />
<PackageVersion Include="runtime.osx-x64.Microsoft.NETCore.ILAsm" Version="$(ILAsmPackageVersion)" />
<PackageVersion Include="Basic.CompilerLog.Util" Version="0.6.1" />
<PackageVersion Include="Basic.Reference.Assemblies.NetStandard20" Version="1.2.4" />
<PackageVersion Include="Basic.Reference.Assemblies.Net50" Version="1.2.4" />
<PackageVersion Include="Basic.Reference.Assemblies.Net60" Version="1.2.4" />
<PackageVersion Include="Basic.Reference.Assemblies.Net70" Version="1.3.0" />
<PackageVersion Include="Basic.Reference.Assemblies.Net80" Version="1.4.5" />
<PackageVersion Include="Basic.Reference.Assemblies.Net461" Version="1.3.0" />
<PackageVersion Include="Basic.Reference.Assemblies.NetStandard13" Version="1.2.4" />
<PackageVersion Include="Basic.Reference.Assemblies.NetStandard20" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.Net50" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.Net60" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.Net70" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.Net80" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.Net461" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.NetStandard13" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Basic.Reference.Assemblies.Net90" Version="$(_BasicReferenceAssembliesVersion)" />
<PackageVersion Include="Microsoft.TeamFoundationServer.Client" Version="19.232.0-preview" />
<!--
Microsoft.TeamFoundationServer.Client is referencing System.Data.SqlClient causing CG alert
Expand Down
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.24204.3">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.24225.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>188340e12c0a372b1681ad6a5e72c608021efdba</Sha>
<Sha>67d23f4ba1813b315e7e33c71d18b63475f5c5f8</Sha>
</Dependency>
<!-- Intermediate is necessary for source build. -->
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="8.0.0-beta.24204.3">
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="8.0.0-beta.24225.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>188340e12c0a372b1681ad6a5e72c608021efdba</Sha>
<Sha>67d23f4ba1813b315e7e33c71d18b63475f5c5f8</Sha>
<SourceBuild RepoName="arcade" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23475.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
Expand All @@ -144,9 +144,9 @@
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>5d10d428050c0d6afef30a072c4ae68776621877</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.24204.3">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.24225.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>188340e12c0a372b1681ad6a5e72c608021efdba</Sha>
<Sha>67d23f4ba1813b315e7e33c71d18b63475f5c5f8</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview.23468.1">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<MajorVersion>4</MajorVersion>
<MinorVersion>11</MinorVersion>
<PatchVersion>0</PatchVersion>
<PreReleaseVersionLabel>1</PreReleaseVersionLabel>
<PreReleaseVersionLabel>2</PreReleaseVersionLabel>
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
<!--
By default the assembly version in official builds is "$(MajorVersion).$(MinorVersion).0.0".
Expand Down
Loading