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 'dotnet/main' into PrimaryConstructors #66866

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
381 commits
Select commit Hold shift + click to select a range
8fa912d
Merge pull request #66569 from mavasani/SemanticDiagnostics
arunchndr Feb 2, 2023
6dad596
Merge pull request #66669 from dotnet/merges/release/dev17.5-to-relea…
dotnet-bot Feb 2, 2023
739114a
Preserve spacing on trivia for invert if (#66660)
ryzngard Feb 2, 2023
28af3ae
Merge pull request #66665 from dotnet/merges/release/dev17.6-to-main
dotnet-bot Feb 2, 2023
de2892a
Merge pull request #66674 from dotnet/merges/release/dev17.6-to-main
dotnet-bot Feb 2, 2023
d4ca316
Enable publishing from a dev branch (#66678)
Feb 2, 2023
ff0045f
NRT enable a language service
CyrusNajmabadi Feb 2, 2023
47dbe50
Merge pull request #66679 from CyrusNajmabadi/nrtService
CyrusNajmabadi Feb 2, 2023
d040ff3
Split normalizer tests (#66590)
DoctorKrolic Feb 2, 2023
79e33c5
Continued analyzer assembly loading work (#66612)
Feb 2, 2023
7a1a19d
Fix formatting issue with convert-to-full-prop
CyrusNajmabadi Feb 2, 2023
95d69a4
Merge pull request #66656 from sharwell/avoid-direnum
sharwell Feb 3, 2023
bfae7f9
Record added node output states as new (#61575)
sbergen Feb 3, 2023
4359fb5
Allow multiple handlers on the same class in ClaSP
ryanbrandenburg Feb 3, 2023
ff0b4ea
EA extensibility point for F# to implement TaskList service (TODO com…
T-Gro Feb 3, 2023
391d367
Revert "Record added node output states as new (#61575)" (#66696)
jjonescz Feb 3, 2023
117f065
Do not suggest replacing lambda with method group if the invoked meho…
DoctorKrolic Feb 3, 2023
331de83
Add support for finding collection initialiers with FAR
CyrusNajmabadi Feb 3, 2023
b4ba69f
Add tests
CyrusNajmabadi Feb 3, 2023
be9b408
Fix
CyrusNajmabadi Feb 3, 2023
7e1888c
Merge pull request #66686 from CyrusNajmabadi/convertProp
CyrusNajmabadi Feb 3, 2023
5c5f96f
Properly classify aliases in quick info
CyrusNajmabadi Feb 3, 2023
791636a
NRT
CyrusNajmabadi Feb 3, 2023
92ca490
PR feedback
ryanbrandenburg Feb 3, 2023
7f33738
Semantic snippets - `propg` and `propi` snippets (#65979)
DoctorKrolic Feb 3, 2023
b38fb35
Support structure guides for #if directives
CyrusNajmabadi Feb 3, 2023
c1ff8b2
Add tests
CyrusNajmabadi Feb 3, 2023
97ef633
Add comment
CyrusNajmabadi Feb 3, 2023
fd21d69
Add tests
CyrusNajmabadi Feb 3, 2023
183ba9a
Find bitwise operators accessed through logical operators in FAR
CyrusNajmabadi Feb 3, 2023
b9c42d7
Fix 'Generate Enum Member' to work in a 'Color Color' case.
CyrusNajmabadi Feb 3, 2023
423f682
Merge pull request #66700 from CyrusNajmabadi/farCollectionInitializer
CyrusNajmabadi Feb 3, 2023
581a4b0
Don't overwrite binary logs in CI (#66683)
Feb 3, 2023
44e2fd9
Change target branch
Cosifne Feb 3, 2023
9a22c43
NRT
CyrusNajmabadi Feb 3, 2023
5a6b462
Update test
CyrusNajmabadi Feb 3, 2023
5078106
⚡️Share AssemblyloadTestFixture on Framework (#66684)
Feb 3, 2023
a68da75
Merge pull request #66703 from CyrusNajmabadi/logicalBitwiseFAR
CyrusNajmabadi Feb 3, 2023
8e9cc8f
Merge pull request #66701 from CyrusNajmabadi/aliasClassification
CyrusNajmabadi Feb 4, 2023
ccce6e7
Enable MSBuild COMM log (#66708)
Feb 4, 2023
8a8df34
Merge pull request #66699 from DoctorKrolic/no-lambda-simplification-…
CyrusNajmabadi Feb 4, 2023
ce20bca
Convert language-specific option types to records (#66633)
tmat Feb 5, 2023
fa6a153
Get `ConditionalAttribute` type only once per compilation
DoctorKrolic Feb 6, 2023
092c547
Merge branch 'dotnet:main' into main
T-Gro Feb 6, 2023
b9683c7
Merge pull request #66717 from DoctorKrolic/get-attribute-type-once
CyrusNajmabadi Feb 6, 2023
8ec6361
PR feedback
ryanbrandenburg Feb 6, 2023
f66bf19
don't offer rename for ctor snippet (#66704)
akhera99 Feb 6, 2023
1e2115d
Add VerifyMethodBody helper as a replacement of VerifyIL (#66536)
tmat Feb 6, 2023
8718840
Merge pull request #66705 from CyrusNajmabadi/generateEnumColorColor
CyrusNajmabadi Feb 6, 2023
9f00a1f
Merge pull request #66702 from CyrusNajmabadi/ifDirectiveStructure
CyrusNajmabadi Feb 6, 2023
ff899a2
PR feedback/perf
ryanbrandenburg Feb 6, 2023
b868a4a
Fix crash in smart indent with unterminated raw string literals
CyrusNajmabadi Feb 6, 2023
48c7751
Merge pull request #66707 from Cosifne/dev/shech/ChangeTargetBranch
Cosifne Feb 6, 2023
76aa129
Add support for collapsing case statements
CyrusNajmabadi Feb 6, 2023
f82cd4a
Add test
CyrusNajmabadi Feb 6, 2023
9fc8e69
Merge pull request #66278 from genlu/AddStar
genlu Feb 6, 2023
6c905eb
Emit a space between lambda's return type and its open paren when nor…
DoctorKrolic Feb 6, 2023
5e7da58
Merge pull request #66724 from CyrusNajmabadi/caseCollapse
CyrusNajmabadi Feb 6, 2023
15da48d
Merge pull request #66723 from CyrusNajmabadi/smartIndentCrash
CyrusNajmabadi Feb 6, 2023
7c152da
Add request concurrency information for processing by the RequestExec…
ToddGrun Feb 6, 2023
50d3040
Accidentally checked in local global.json
ToddGrun Feb 6, 2023
958420b
Add comment about why RequiresPreviousQueueItemsCancelled is necessary
ToddGrun Feb 6, 2023
1048b1b
Update package version
Cosifne Feb 3, 2023
715716b
Get rid of RequestConcurrency enum and instead use a flag on RequestE…
ToddGrun Feb 7, 2023
0cca37a
Found some comments I missed reverting
ToddGrun Feb 7, 2023
8a10b30
Fix enum preselection with a params argument
CyrusNajmabadi Feb 7, 2023
b33d6df
Remove the "
Cosifne Feb 7, 2023
32f5d86
Merge pull request #66731 from CyrusNajmabadi/enumParams
CyrusNajmabadi Feb 7, 2023
02cb458
Member renamed and comment updated
ToddGrun Feb 7, 2023
8ff459f
Add previous comment back
ToddGrun Feb 7, 2023
9f485f2
Fix potential ObjectDisposedException I saw while debugging
ToddGrun Feb 7, 2023
390f274
Fix generate method when existing method is present
CyrusNajmabadi Feb 7, 2023
5fbffa7
Do less extraneous work if queue doesn't specify CancelInProgressWork…
ToddGrun Feb 7, 2023
ee2e97d
undo using statement cleanups in otherwise unaffected files
ToddGrun Feb 7, 2023
0a53c0d
Revert a couple other using stmt cleanups I missed in the last commit
ToddGrun Feb 7, 2023
c44a6c2
Block instrumentation improvements (#66506)
tmat Feb 7, 2023
0e77d09
Merge pull request #66737 from CyrusNajmabadi/genMethodEvent
CyrusNajmabadi Feb 7, 2023
3b175ba
Add API to determine what capabilities the runtime supports (#66706)
CyrusNajmabadi Feb 7, 2023
a937cb5
Introduce parameter - don't offer for arguments or attribute argument…
akhera99 Feb 7, 2023
bca61f2
Suggest converting System.IntPtr to nint when they are identical
CyrusNajmabadi Feb 7, 2023
1318e82
Remove unnecessary calls to OpenFileAsync
sharwell Feb 7, 2023
30bf839
Merge pull request #66729 from Cosifne/dev/shech/PackageVersionUpdate
Cosifne Feb 7, 2023
cdf7961
Support converting bac
CyrusNajmabadi Feb 7, 2023
3d97460
Remove unnecessary warning suppression
sharwell Feb 7, 2023
851025f
Fix failure to load solution options in RoslynPackage
sharwell Feb 7, 2023
5f90573
Tweak LSIF's MSBuild discovery logic
jasonmalinowski Feb 4, 2023
33a7734
Merge branch 'release/dev17.6' into merges/release/dev17.5-vs-deps-to…
genlu Feb 7, 2023
797bceb
Fix XmlDocumentationProvider to return the entire XML node
jasonmalinowski Feb 2, 2023
22c2b73
Merge pull request #66739 from sharwell/simplify-test
sharwell Feb 7, 2023
06f7a9a
Merge pull request #66738 from sharwell/persist-options
sharwell Feb 7, 2023
243ca04
Merge pull request #66743 from sharwell/remove-suppression
sharwell Feb 7, 2023
e9f1cd2
Merge pull request #66668 from jasonmalinowski/fix-xml-documentation-…
jasonmalinowski Feb 8, 2023
ad617e8
rename some variables.
ToddGrun Feb 8, 2023
7d2e01a
Allow razor tests to get diagnostics
davidwengier Feb 8, 2023
50bd09a
Merge pull request #66744 from dotnet/merges/release/dev17.5-vs-deps-…
RikkiGibson Feb 8, 2023
48ea647
Allow callers from netstandard2.0
davidwengier Feb 8, 2023
307d54f
Merge pull request #66742 from CyrusNajmabadi/nintOffer
CyrusNajmabadi Feb 8, 2023
46ca8da
Fix completion in out-var with variable directly declared after
CyrusNajmabadi Feb 8, 2023
76c1c12
Fix rename-dashboard to not overreport results in linked-files
CyrusNajmabadi Feb 8, 2023
f358e62
Merge pull request #66688 from ryanbrandenburg/CLaSP/MultipleHandlers
ryanbrandenburg Feb 8, 2023
0c22bd5
Merge pull request #66755 from CyrusNajmabadi/outParamCompletion
CyrusNajmabadi Feb 8, 2023
005e388
Avoid searching for any empty identifier in Find All References
sharwell Feb 8, 2023
6e3826a
Give a better message in FAR when not invoked in an ok location
CyrusNajmabadi Feb 8, 2023
38517db
REmove
CyrusNajmabadi Feb 8, 2023
5290e48
Fix codegen for 'use auto prop' with linked files
CyrusNajmabadi Feb 8, 2023
f5b1620
PR feedback, including using Contract, turning on nullable attributes…
ToddGrun Feb 8, 2023
c2a77e3
Merge pull request #66758 from sharwell/far-loop
sharwell Feb 8, 2023
106df60
Merge pull request #66756 from CyrusNajmabadi/renameLinkedFiles
CyrusNajmabadi Feb 8, 2023
beb2ce6
Merge pull request #66759 from CyrusNajmabadi/farMessage
CyrusNajmabadi Feb 8, 2023
eb07ed9
Support 'make method async' on an unbound 'await' identifier
CyrusNajmabadi Feb 8, 2023
6928cac
Move initialization of task-list code to bg thread
CyrusNajmabadi Feb 8, 2023
080db30
Add a test for FAR on symbol with empty name
genlu Feb 8, 2023
86cebe2
Simplify
CyrusNajmabadi Feb 8, 2023
9dfdefe
Update src/VisualStudio/Core/Def/ProjectSystem/VisualStudioWorkspaceI…
CyrusNajmabadi Feb 8, 2023
3ba398d
Merge pull request #66760 from CyrusNajmabadi/useAutoPropLinked
CyrusNajmabadi Feb 8, 2023
ccaa548
Fixes
CyrusNajmabadi Feb 8, 2023
72f6a8a
Add test for completing request
ryanbrandenburg Feb 8, 2023
7238c19
Remove the Contract dependency and duplicate TaskExtensions
ToddGrun Feb 8, 2023
80e77a3
Merge pull request #66758 from sharwell/far-loop
sharwell Feb 8, 2023
bfd26f1
Cleanup
CyrusNajmabadi Feb 8, 2023
503e379
Merge branch 'dev/toddgrun/RequestConcurrency-SelfContained' of githu…
ryanbrandenburg Feb 8, 2023
f8b426c
Simplify
CyrusNajmabadi Feb 8, 2023
391e4a3
Simplify
CyrusNajmabadi Feb 8, 2023
70fb7c3
Add test for Cancelation
ryanbrandenburg Feb 9, 2023
2d0af76
Simplify
CyrusNajmabadi Feb 9, 2023
acfa928
Merge pull request #66764 from CyrusNajmabadi/makeAsync
CyrusNajmabadi Feb 9, 2023
7dab735
Merge branch 'taskListInit' of https://github.com/CyrusNajmabadi/rosl…
CyrusNajmabadi Feb 9, 2023
bc91311
Discourage non-incremental source generators (#66752)
jjonescz Feb 9, 2023
05243d8
[main] Update dependencies from dotnet/roslyn-analyzers (#66342)
dotnet-maestro[bot] Feb 9, 2023
bc5d45d
Merge remote-tracking branch 'upstream/main' into moveFixer
CyrusNajmabadi Feb 9, 2023
8f50cc7
move more down
CyrusNajmabadi Feb 9, 2023
ed0b4ac
move more
CyrusNajmabadi Feb 9, 2023
ae8a049
Update src/Workspaces/Core/Portable/Microsoft.CodeAnalysis.Workspaces…
CyrusNajmabadi Feb 9, 2023
ba58075
Track status for "roles" feature (#66746)
jcouv Feb 9, 2023
65866e2
Targeting IDE projects to .NET 6 (#66655)
genlu Feb 9, 2023
449b517
Merge pull request #66709 from jasonmalinowski/tweak-msbuild-discovery
jasonmalinowski Feb 9, 2023
f010a2c
Move more down
CyrusNajmabadi Feb 9, 2023
4932a49
Merge branch 'moveFixer' of https://github.com/CyrusNajmabadi/roslyn …
CyrusNajmabadi Feb 9, 2023
d406579
Fix
CyrusNajmabadi Feb 9, 2023
a715af6
Merge remote-tracking branch 'upstream/main' into moveFixer
CyrusNajmabadi Feb 9, 2023
6a5a63b
Merge pull request #66766 from dotnet/merges/release/dev17.5-to-relea…
dotnet-bot Feb 9, 2023
9a281b3
Simplify
CyrusNajmabadi Feb 9, 2023
89416a2
Merge branch 'main' into merges/release/dev17.6-to-main
CyrusNajmabadi Feb 9, 2023
8047499
Merge pull request #66762 from genlu/AddTest
genlu Feb 9, 2023
bd094ce
Simplify
CyrusNajmabadi Feb 9, 2023
f1e0a3f
Simplify further
CyrusNajmabadi Feb 9, 2023
b4adc79
Fix casing
CyrusNajmabadi Feb 9, 2023
3fd8a12
Update src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_XmlC…
CyrusNajmabadi Feb 9, 2023
f19f18d
Update src/EditorFeatures/TestUtilities/Workspaces/TestWorkspace_XmlC…
CyrusNajmabadi Feb 9, 2023
b2d3a00
Unify traits
CyrusNajmabadi Feb 9, 2023
45001e8
Unify traits
CyrusNajmabadi Feb 9, 2023
d93b690
Unify traits
CyrusNajmabadi Feb 9, 2023
ae2dc09
Unify traits
CyrusNajmabadi Feb 9, 2023
5c03570
Add a comment to CodeFixContext.Options (#66783)
tmat Feb 9, 2023
833f131
Whitespace cleanup
ryanbrandenburg Feb 9, 2023
9c28567
Merge pull request #66763 from CyrusNajmabadi/taskListInit
CyrusNajmabadi Feb 9, 2023
6f6a3db
Merge pull request #66749 from dotnet/merges/release/dev17.6-to-main
dotnet-bot Feb 9, 2023
291654a
Merge pull request #66785 from CyrusNajmabadi/traits
CyrusNajmabadi Feb 9, 2023
c068a8c
Analyzer cleanup
ryanbrandenburg Feb 9, 2023
73338d9
Merge pull request #66786 from dotnet/merges/release/dev17.5-vs-deps-…
dotnet-bot Feb 9, 2023
a6c3f8d
Analyzer cleanup
ryanbrandenburg Feb 9, 2023
3cb89a4
Support generating a constructor from a get-only property
CyrusNajmabadi Feb 9, 2023
6d922f7
Add tests
CyrusNajmabadi Feb 9, 2023
51ea35e
Simplify
CyrusNajmabadi Feb 9, 2023
5004d99
Produce better names when generating methods with inferred Action/Fun…
CyrusNajmabadi Feb 10, 2023
fe674ac
Fix naming issue with 'Convert to full property'
CyrusNajmabadi Feb 10, 2023
fff8889
Merge pull request #66789 from CyrusNajmabadi/genConstructorGetProperty
CyrusNajmabadi Feb 10, 2023
ab53991
Fix message string in 'remove private members'
CyrusNajmabadi Feb 10, 2023
6e06bc2
Merge pull request #66790 from dotnet/merges/release/dev17.6-to-main
dotnet-bot Feb 10, 2023
1f8f9b5
Support converting any language keyword to see-langword in xml doc co…
CyrusNajmabadi Feb 10, 2023
8533865
Merge pull request #66792 from CyrusNajmabadi/useFullPropNaming
CyrusNajmabadi Feb 10, 2023
8241748
Don't do manual name munging
CyrusNajmabadi Feb 10, 2023
89085fc
Merge pull request #66791 from CyrusNajmabadi/genMethodDelegates
CyrusNajmabadi Feb 10, 2023
b01cee9
Merge pull request #66796 from CyrusNajmabadi/langWordAny
CyrusNajmabadi Feb 10, 2023
4f9007a
Merge pull request #66795 from CyrusNajmabadi/removePrivateMessage
CyrusNajmabadi Feb 10, 2023
67d2788
Process host outputs by `GeneratorDriver` (#66570)
jjonescz Feb 10, 2023
c0840ed
Fix 'use auto prop' case that could cause definite assignment errors
CyrusNajmabadi Feb 10, 2023
c3463ab
Add test
CyrusNajmabadi Feb 10, 2023
5b0a0d3
Simplify
CyrusNajmabadi Feb 10, 2023
567997e
Update 'introducing using' to support using-declaration-statements as…
CyrusNajmabadi Feb 10, 2023
b804e45
Expand tests
CyrusNajmabadi Feb 10, 2023
6aa35c2
Fix crash in VB type name simplification
CyrusNajmabadi Feb 10, 2023
e569316
Delete dead code
CyrusNajmabadi Feb 10, 2023
00557da
Merge branch 'main' of github.com:dotnet/roslyn into dev/toddgrun/Req…
ryanbrandenburg Feb 10, 2023
8d00274
Enable assert
CyrusNajmabadi Feb 10, 2023
8ab7bbd
Fix test due to task issue
ryanbrandenburg Feb 10, 2023
be26170
Expand on the set of patterns 'convert for to foreach' detects
CyrusNajmabadi Feb 10, 2023
509b132
Merge pull request #66815 from CyrusNajmabadi/cleanup
CyrusNajmabadi Feb 10, 2023
3e44457
Provide smart name suggestions, even when the type of the declaration…
CyrusNajmabadi Feb 10, 2023
be4bfd7
NRT
CyrusNajmabadi Feb 10, 2023
5547c93
Workaround crash in decompiler
CyrusNajmabadi Feb 10, 2023
754c0ac
NRT
CyrusNajmabadi Feb 10, 2023
b662aee
Fix
CyrusNajmabadi Feb 10, 2023
2ff977a
Merge pull request #66816 from CyrusNajmabadi/enableAssert
CyrusNajmabadi Feb 10, 2023
e2ada98
Fix case where the 'default' keyword was not recommended
CyrusNajmabadi Feb 10, 2023
153f008
Unify logic
CyrusNajmabadi Feb 10, 2023
dd8e877
Fix dot completion in cases where dots are parsed as a range operator
CyrusNajmabadi Feb 10, 2023
7adeecc
Merge pull request #66804 from CyrusNajmabadi/useAutoPropDefAssignment
CyrusNajmabadi Feb 10, 2023
e92fa29
Copy all diagnostic info from derived classes when changing severity …
Youssef1313 Feb 10, 2023
58d1f45
Merge pull request #66818 from CyrusNajmabadi/forToForeachElementAt
CyrusNajmabadi Feb 10, 2023
2a186e3
Merge pull request #66819 from CyrusNajmabadi/nameSuggestionError
CyrusNajmabadi Feb 10, 2023
8e4851c
Merge pull request #66820 from CyrusNajmabadi/decompileCrash
CyrusNajmabadi Feb 10, 2023
321601a
Merge pull request #66821 from CyrusNajmabadi/defaultKeywordAmbiguity
CyrusNajmabadi Feb 11, 2023
90b68d5
Merge pull request #66780 from CyrusNajmabadi/moveFixer
CyrusNajmabadi Feb 11, 2023
58ca611
move code
CyrusNajmabadi Feb 11, 2023
109d5d2
Merge remote-tracking branch 'upstream/main' into useLocalFunction
CyrusNajmabadi Feb 11, 2023
319b471
Update
CyrusNajmabadi Feb 11, 2023
68cfc1a
Merge pull request #66748 from davidwengier/EnableDiagnosticsInRazorT…
davidwengier Feb 11, 2023
b8e1137
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Feb 12, 2023
9fb7b1b
Merge remote-tracking branch 'upstream/main' into dotCompletionRange
CyrusNajmabadi Feb 12, 2023
1004022
BRT
CyrusNajmabadi Feb 12, 2023
536ab16
Move 'add anonymous type member' down to CodeStyle layer
CyrusNajmabadi Feb 13, 2023
04598f9
Move more down to code style layer
CyrusNajmabadi Feb 13, 2023
e851f84
Move more down to code style layer
CyrusNajmabadi Feb 13, 2023
4b284ea
Move impls down
CyrusNajmabadi Feb 13, 2023
18f2cc3
Move tests down
CyrusNajmabadi Feb 13, 2023
5aaa877
NRT
CyrusNajmabadi Feb 13, 2023
87e5981
Merge pull request #66825 from CyrusNajmabadi/useLocalFunction
CyrusNajmabadi Feb 13, 2023
29d4173
Move the 'assign out parameter' fixer down to the CodeStyle layer
CyrusNajmabadi Feb 13, 2023
1ac218e
Merge remote-tracking branch 'upstream/main' into assignOutDown
CyrusNajmabadi Feb 13, 2023
364bb70
Merge pull request #66813 from CyrusNajmabadi/vbSimplifyCrash
CyrusNajmabadi Feb 13, 2023
2646c0f
Move the 'add parens in conditional' fixer down to the CodeStyle layer
CyrusNajmabadi Feb 13, 2023
6518956
Move 'convert to async function' down to CodeStyle layer
CyrusNajmabadi Feb 13, 2023
79dcd37
Merge remote-tracking branch 'upstream/main' into introUsingStatement
CyrusNajmabadi Feb 13, 2023
e9e0fd1
Invert check
CyrusNajmabadi Feb 13, 2023
9eb2245
Merge pull request #66835 from CyrusNajmabadi/addAnonymousDown
CyrusNajmabadi Feb 13, 2023
aa54df7
Merge pull request #66836 from CyrusNajmabadi/moveDown2
CyrusNajmabadi Feb 13, 2023
055d822
Merge pull request #66808 from CyrusNajmabadi/introUsingStatement
CyrusNajmabadi Feb 13, 2023
0816b03
Merge pull request #66822 from CyrusNajmabadi/dotCompletionRange
CyrusNajmabadi Feb 13, 2023
2bde77f
Make the ObjectDisposedCatch tighter around the potentially offending…
ToddGrun Feb 13, 2023
63af900
Merge branch 'main' into assignOutDown
CyrusNajmabadi Feb 13, 2023
fa85809
Merge branch 'assignOutDown' into addParensDown
CyrusNajmabadi Feb 13, 2023
991b7df
Merge branch 'addParensDown' into convertToAsyncDown
CyrusNajmabadi Feb 13, 2023
9e6ffc9
Move 'use explicit type for constants' down to anlayzer layer
CyrusNajmabadi Feb 13, 2023
69b050a
Code review feedback
T-Gro Feb 13, 2023
8963212
Merge pull request #66837 from CyrusNajmabadi/assignOutDown
CyrusNajmabadi Feb 13, 2023
e73f674
Merge remote-tracking branch 'upstream/main' into addParensDown
CyrusNajmabadi Feb 13, 2023
92622ec
EA extensibility point for F# to implement TaskList service ( TODO co…
T-Gro Feb 13, 2023
a76d9ca
Add net6.0 TFM to ExternalAccess.Razor (#66846)
jjonescz Feb 13, 2023
f0736b8
🔨 Enable MSBuild COMM log in bootstrap (#66832)
Feb 13, 2023
43eb511
Merge pull request #66838 from CyrusNajmabadi/addParensDown
CyrusNajmabadi Feb 13, 2023
bd539fe
Merge remote-tracking branch 'upstream/main' into convertToAsyncDown
CyrusNajmabadi Feb 13, 2023
ae05ab1
Merge branch 'convertToAsyncDown' into useExplicitTypeDown
CyrusNajmabadi Feb 13, 2023
c768df7
Merge pull request #66805 from CyrusNajmabadi/farCrash
CyrusNajmabadi Feb 13, 2023
5cf6350
Merge pull request #66767 from ryanbrandenburg/dev/toddgrun/RequestCo…
ToddGrun Feb 13, 2023
af08c17
Merge pull request #66839 from CyrusNajmabadi/convertToAsyncDown
CyrusNajmabadi Feb 13, 2023
3933621
Merge remote-tracking branch 'upstream/main' into useExplicitTypeDown
CyrusNajmabadi Feb 13, 2023
06a52ac
Merge pull request #66847 from CyrusNajmabadi/useExplicitTypeDown
CyrusNajmabadi Feb 14, 2023
716d89f
Merge remote-tracking branch 'dotnet/main' into PrimaryConstructors_21
AlekseyTs Feb 14, 2023
d5aa258
Follow up on merge from 'main'
AlekseyTs Feb 14, 2023
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ src/Features/**/PublicAPI.Unshipped.txt @dotnet/roslyn-api-owners
src/EditorFeatures/**/PublicAPI.Unshipped.txt @dotnet/roslyn-api-owners

src/Tools/ExternalAccess/OmniSharp*/ @333fred @joerobich
src/Tools/ExternalAccess/RazorCompiler @dotnet/roslyn-compiler
src/Tools/ExternalAccess/RazorCompiler*/ @dotnet/roslyn-compiler
1 change: 1 addition & 0 deletions Compilers.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"src\\Scripting\\CoreTestUtilities\\Microsoft.CodeAnalysis.Scripting.TestUtilities.csproj",
"src\\Test\\PdbUtilities\\Roslyn.Test.PdbUtilities.csproj",
"src\\Tools\\ExternalAccess\\RazorCompiler\\Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.csproj",
"src\\Tools\\ExternalAccess\\RazorCompilerTest\\Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.UnitTests.csproj",
"src\\Tools\\PrepareTests\\PrepareTests.csproj",
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\CSharpSyntaxGenerator\\CSharpSyntaxGenerator.csproj",
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\BoundTreeGenerator\\CompilersBoundTreeGenerator.csproj",
Expand Down
6 changes: 6 additions & 0 deletions Roslyn.lutconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<LUTConfig Version="1.0">
<Repository />
<ParallelBuilds>true</ParallelBuilds>
<ParallelTestRuns>true</ParallelTestRuns>
<TestCaseTimeout>180000</TestCaseTimeout>
</LUTConfig>
7 changes: 7 additions & 0 deletions Roslyn.sln
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestDiscoveryWorker", "src\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler", "src\Tools\ExternalAccess\RazorCompiler\Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.csproj", "{E5E0BF73-95F7-4BC3-8443-2336C4FF4297}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.UnitTests", "src\Tools\ExternalAccess\RazorCompilerTest\Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.UnitTests.csproj", "{828FD0DB-9927-42AC-B6C2-D1514965D6C3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -1277,6 +1279,10 @@ Global
{E5E0BF73-95F7-4BC3-8443-2336C4FF4297}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E5E0BF73-95F7-4BC3-8443-2336C4FF4297}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E5E0BF73-95F7-4BC3-8443-2336C4FF4297}.Release|Any CPU.Build.0 = Release|Any CPU
{828FD0DB-9927-42AC-B6C2-D1514965D6C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{828FD0DB-9927-42AC-B6C2-D1514965D6C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{828FD0DB-9927-42AC-B6C2-D1514965D6C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{828FD0DB-9927-42AC-B6C2-D1514965D6C3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -1515,6 +1521,7 @@ Global
{8A29449D-411E-49E4-B99E-E8428076BB21} = {55A62CFA-1155-46F1-ADF3-BEEE51B58AB5}
{8BC50AFF-1EBF-4E9A-AEBB-04F387AA800F} = {FD0FAF5F-1DED-485C-99FA-84B97F3A8EEC}
{E5E0BF73-95F7-4BC3-8443-2336C4FF4297} = {8977A560-45C2-4EC2-A849-97335B382C74}
{828FD0DB-9927-42AC-B6C2-D1514965D6C3} = {8977A560-45C2-4EC2-A849-97335B382C74}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {604E6B91-7BC0-4126-AE07-D4D2FEFC3D29}
Expand Down
31 changes: 24 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ stages:
include:
- src/Compilers/*
- src/Dependencies/*
- eng/*
- src/Tools/Source/CompilerGeneratorTools/*

- job: Correctness_Build_Artifacts
dependsOn: Determine_Changes
Expand All @@ -214,7 +216,11 @@ stages:
demands: ImageOverride -equals windows.vs2022preview.amd64.open
timeoutInMinutes: 90
variables:
compilerChange: $[dependencies.Determine_Changes.outputs['SetPathVars_compilers.containsChange']]
- template: eng/pipelines/variables-build.yml
parameters:
configuration: Release
- name: compilerChange
value: $[dependencies.Determine_Changes.outputs['SetPathVars_compilers.containsChange']]
steps:
- template: eng/pipelines/checkout-windows-task.yml

Expand Down Expand Up @@ -259,6 +265,10 @@ stages:
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022preview.amd64.open
timeoutInMinutes: 90
variables:
- template: eng/pipelines/variables-build.yml
parameters:
configuration: Debug
steps:
- template: eng/pipelines/checkout-windows-task.yml

Expand All @@ -277,6 +287,10 @@ stages:
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022preview.amd64.open
timeoutInMinutes: 90
variables:
- template: eng/pipelines/variables-build.yml
parameters:
configuration: Release
steps:
- template: eng/pipelines/checkout-windows-task.yml

Expand Down Expand Up @@ -319,15 +333,13 @@ stages:
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022preview.amd64.open
timeoutInMinutes: 90
variables:
- template: eng/pipelines/variables-build.yml
parameters:
configuration: Release
steps:
- template: eng/pipelines/checkout-windows-task.yml

- task: PowerShell@2
displayName: Restore
inputs:
filePath: eng/build.ps1
arguments: -configuration Debug -prepareMachine -ci -restore -binaryLogName Restore.binlog

- powershell: .\eng\test-rebuild.ps1 -ci -configuration Release
displayName: Run BuildValidator

Expand All @@ -350,6 +362,11 @@ stages:
name: NetCore-Public
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
timeoutInMinutes: 35
variables:
- template: eng/pipelines/variables-build.yml
parameters:
configuration: Debug

steps:
- template: eng/pipelines/checkout-unix-task.yml

Expand Down
3 changes: 2 additions & 1 deletion docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ efforts behind them.
| [nameof accessing instance members](https://github.com/dotnet/roslyn/issues/40229) | main | [In Progress](https://github.com/dotnet/roslyn/pull/48754) | [YairHalberstadt ](https://github.com/YairHalberstadt) | [333fred](https://github.com/333fred), [AlekseyTs](https://github.com/AlekseyTs) | [333fred](https://github.com/333fred) |
| [Lambda default parameters](https://github.com/dotnet/csharplang/issues/6051) | [lambda-default-parameters](https://github.com/dotnet/roslyn/tree/features/lambda-default-parameters) | [Merged into 17.5p2](https://github.com/dotnet/roslyn/issues/62485) | [adamperlin](https://github.com/adamperlin), [jjonescz](https://github.com/jjonescz) | [333fred](https://github.com/333fred), [cston](https://github.com/cston) | [captainsafia](https://github.com/captainsafia) |
| [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) |
| [Collection Literals](https://github.com/dotnet/csharplang/issues/5354) | [CollectionLiterals](https://github.com/dotnet/roslyn/tree/features/CollectionLiterals) | | [cston](https://github.com/cston) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Collection Literals](https://github.com/dotnet/csharplang/issues/5354) | [CollectionLiterals](https://github.com/dotnet/roslyn/tree/features/CollectionLiterals) | [In Progress](https://github.com/dotnet/roslyn/issues/66418) | [cston](https://github.com/cston) | [333fred](https://github.com/333fred), [RikkiGibson](https://github.com/RikkiGibson) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
| [Roles](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) | TBD | [MadsTorgersen](https://github.com/MadsTorgersen) |

# C# 11.0

Expand Down
2 changes: 1 addition & 1 deletion docs/features/incremental-generators.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Summary

Incremental generators are a new API that exists alongside
[source generators](generators.md) to allow users to specify generation
[source generators](source-generators.md) to allow users to specify generation
strategies that can be applied in a high performance way by the hosting layer.

### High Level Design Goals
Expand Down
6 changes: 4 additions & 2 deletions docs/features/source-generators.cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

## Summary

> **Note**: The design for the source generator proposal is still under review. This document uses only one possible syntax, and
> it is expected to change without notice as the feature evolves.
> **Warning**: Source generators implementing `ISourceGenerator` have been deprecated
> in favor of [incremental generators](incremental-generators.md).
> This document has not been fully updated to reflect that.
> You should implement `IIncrementalGenerator` instead of `ISourceGenerator`.

This document aims to be a guide to help the creation of source generators by providing a series of guidelines for common patterns.
It also aims to set out what types of generators are possible under the current design, and what is expected to be explicitly out
Expand Down
4 changes: 3 additions & 1 deletion docs/features/source-generators.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Source Generators


## Summary

> **Warning**: Source generators implementing `ISourceGenerator` have been deprecated
> in favor of [incremental generators](incremental-generators.md).

Source generators aim to enable _compile time metaprogramming_, that is, code that can be created
at compile time and added to the compilation. Source generators will be able to read the contents of
the compilation before running, as well as access any _additional files_, enabling generators to
Expand Down
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>eae015fb1c92ceef69126164b3969447d0355c08</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23058.2">
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23111.1">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>0b2bc22f087f4a42915a3f5d7049a0e71a179423</Sha>
<Sha>5cd64de1a3319d7f15380b843352a2b963e59b57</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
15 changes: 12 additions & 3 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<MajorVersion>4</MajorVersion>
<MinorVersion>6</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 All @@ -20,7 +20,7 @@
<PropertyGroup>
<!-- Versions used by several individual references below -->
<RoslynDiagnosticsNugetPackageVersion>3.3.4-beta1.22579.2</RoslynDiagnosticsNugetPackageVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview1.23058.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>8.0.0-preview1.23111.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.22512.1</MicrosoftCodeAnalysisTestingVersion>
<MicrosoftVisualStudioExtensibilityTestingVersion>0.1.149-beta</MicrosoftVisualStudioExtensibilityTestingVersion>
<!-- CodeStyleAnalyzerVersion should we updated together with version of dotnet-format in dotnet-tools.json -->
Expand Down Expand Up @@ -186,7 +186,6 @@
<MicrosoftVisualStudioShell150Version>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShell150Version>
<MicrosoftVisualStudioShellFrameworkVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellFrameworkVersion>
<MicrosoftVisualStudioShellDesignVersion>$(MicrosoftVisualStudioShellPackagesVersion)</MicrosoftVisualStudioShellDesignVersion>
<MicrosoftVisualStudioTelemetryVersion>16.6.9</MicrosoftVisualStudioTelemetryVersion>
<MicrosoftVisualStudioTemplateWizardInterfaceVersion>8.0.0.0-alpha</MicrosoftVisualStudioTemplateWizardInterfaceVersion>
<MicrosoftVisualStudioTextDataVersion>$(VisualStudioEditorPackagesVersion)</MicrosoftVisualStudioTextDataVersion>
<MicrosoftVisualStudioTextInternalVersion>$(VisualStudioEditorPackagesVersion)</MicrosoftVisualStudioTextInternalVersion>
Expand Down Expand Up @@ -301,6 +300,16 @@
<SystemReflectionMetadataVersion>6.0.1</SystemReflectionMetadataVersion>
<MicrosoftBclAsyncInterfacesVersion>6.0.0</MicrosoftBclAsyncInterfacesVersion>
</PropertyGroup>
<PropertyGroup Condition="$(OfficialBuild)">
<RestoreSources>
$(RestoreSources);
https://pkgs.dev.azure.com/dnceng/internal/_packaging/dotnet-tools-internal/nuget/v3/index.json;
</RestoreSources>
<MicrosoftVisualStudioTelemetryVersion>16.6.15</MicrosoftVisualStudioTelemetryVersion>
</PropertyGroup>
<PropertyGroup Condition="!$(OfficialBuild)">
<MicrosoftVisualStudioTelemetryVersion>16.6.9</MicrosoftVisualStudioTelemetryVersion>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<UsingToolVSSDK>true</UsingToolVSSDK>
</PropertyGroup>
Expand Down
93 changes: 44 additions & 49 deletions eng/build-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -261,66 +261,61 @@ function Get-PackageDir([string]$name, [string]$version = "") {
return $p
}

function Run-MSBuild([string]$projectFilePath, [string]$buildArgs = "", [string]$logFileName = "", [switch]$parallel = $true, [switch]$summary = $true, [switch]$warnAsError = $true, [string]$configuration = $script:configuration, [switch]$runAnalyzers = $false) {
# Because we override the C#/VB toolset to build against our LKG package, it is important
# that we do not reuse MSBuild nodes from other jobs/builds on the machine. Otherwise,
# we'll run into issues such as https://github.com/dotnet/roslyn/issues/6211.
# MSBuildAdditionalCommandLineArgs=
$args = "/p:TreatWarningsAsErrors=true /nologo /nodeReuse:false /p:Configuration=$configuration ";

if ($warnAsError) {
$args += " /warnaserror"
}
# Create a bootstrap build of the compiler. Returns the directory where the bootstrap build
# is located.
#
# Important to not set $script:bootstrapDir here yet as we're actually in the process of
# building the bootstrap.
function Make-BootstrapBuild([switch]$force32 = $false) {

if ($summary) {
$args += " /consoleloggerparameters:Verbosity=minimal;summary"
} else {
$args += " /consoleloggerparameters:Verbosity=minimal"
}
function Run-MSBuild([string]$projectFilePath, [string]$buildArgs = "", [string]$logFileName = "", [string]$configuration = $script:configuration, [switch]$runAnalyzers = $false) {
# Because we override the C#/VB toolset to build against our LKG package, it is important
# that we do not reuse MSBuild nodes from other jobs/builds on the machine. Otherwise,
# we'll run into issues such as https://github.com/dotnet/roslyn/issues/6211.
# MSBuildAdditionalCommandLineArgs=
$args = "/p:TreatWarningsAsErrors=true /nologo /nodeReuse:false /p:Configuration=$configuration ";

if ($parallel) {
$args += " /m"
}
if ($warnAsError) {
$args += " /warnaserror"
}

if ($runAnalyzers) {
$args += " /p:RunAnalyzersDuringBuild=true"
}
if ($runAnalyzers) {
$args += " /p:RunAnalyzersDuringBuild=true"
}

if ($binaryLog) {
if ($logFileName -eq "") {
$logFileName = [IO.Path]::GetFileNameWithoutExtension($projectFilePath)
if ($binaryLog) {
if ($logFileName -eq "") {
$logFileName = [IO.Path]::GetFileNameWithoutExtension($projectFilePath)
}
$logFileName = [IO.Path]::ChangeExtension($logFileName, ".binlog")
$logFilePath = Join-Path $LogDir $logFileName
$args += " /bl:$logFilePath"
}
$logFileName = [IO.Path]::ChangeExtension($logFileName, ".binlog")
$logFilePath = Join-Path $LogDir $logFileName
$args += " /bl:$logFilePath"
}

if ($officialBuildId) {
$args += " /p:OfficialBuildId=" + $officialBuildId
}
if ($officialBuildId) {
$args += " /p:OfficialBuildId=" + $officialBuildId
}

if ($ci) {
$args += " /p:ContinuousIntegrationBuild=true"
}
if ($ci) {
$args += " /p:ContinuousIntegrationBuild=true"
# Temporarily disable RestoreUseStaticGraphEvaluation to work around this NuGet issue
# in our CI builds
# https://github.com/NuGet/Home/issues/12373
$args += " /p:RestoreUseStaticGraphEvaluation=false"
}

if ($bootstrapDir -ne "") {
$args += " /p:BootstrapBuildPath=$bootstrapDir"
}
if ($bootstrapDir -ne "") {
$args += " /p:BootstrapBuildPath=$bootstrapDir"
}

$args += " $buildArgs"
$args += " $projectFilePath"
$args += " $properties"
$args += " $buildArgs"
$args += " $projectFilePath"
$args += " $properties"

$buildTool = InitializeBuildTool
Exec-Console $buildTool.Path "$($buildTool.Command) $args"
}
$buildTool = InitializeBuildTool
Exec-Console $buildTool.Path "$($buildTool.Command) $args"
}

# Create a bootstrap build of the compiler. Returns the directory where the bootstrap build
# is located.
#
# Important to not set $script:bootstrapDir here yet as we're actually in the process of
# building the bootstrap.
function Make-BootstrapBuild([switch]$force32 = $false) {
Write-Host "Building bootstrap compiler"

$dir = Join-Path $ArtifactsDir "Bootstrap"
Expand Down
Loading