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 master to features/covariant-returns #43577

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
400 commits
Select commit Hold shift + click to select a range
94f180a
Remove unused code
dpoeschl Apr 13, 2020
0333eb9
Move trycatch
CyrusNajmabadi Apr 13, 2020
29ee056
Add notes
CyrusNajmabadi Apr 13, 2020
9902759
Add notes
CyrusNajmabadi Apr 13, 2020
6d4cb2c
Update comment
dpoeschl Apr 13, 2020
94f0cdd
Rid GetContentFromDocumentationCommentTriviaSyntax of ToArray calls
dpoeschl Apr 13, 2020
680673a
Updated documentation for GetBestTypeByMetadataName
sharwell Apr 14, 2020
02db7d3
Merge remote-tracking branch 'dotnet/master' into regex-features
sharwell Apr 14, 2020
3e59efc
Add support for completion providers in NuGet packages
sharwell Apr 10, 2020
6e57238
Add a timeout for InteractiveWindow.SubmitText
sharwell Apr 14, 2020
9eef708
Fix C# AddNameToArgument to support AttributeArguments
dpoeschl Apr 14, 2020
5c7b1d5
Merge remote-tracking branch 'upstream/master' into allowSymbolOOp3
CyrusNajmabadi Apr 14, 2020
9361919
Add test for VB Attributes with omitted arguments
dpoeschl Apr 14, 2020
23a72b2
Remove default hashing/equality
CyrusNajmabadi Apr 14, 2020
e33fcef
Rename CompensatingParameterConfigurations and add doc comment
dpoeschl Apr 14, 2020
34b4273
Update src/Workspaces/Core/Portable/Workspace/Solution/SolutionState.…
CyrusNajmabadi Apr 14, 2020
6de57b4
Dedupe some of IsParamsArrayExpanded
dpoeschl Apr 14, 2020
911749b
Remove unnecessary nullable !
dpoeschl Apr 14, 2020
498172d
Rename IsCallsiteError to IsCallsiteTodo and document Parameter prope…
dpoeschl Apr 14, 2020
bfc05f0
Merge remote-tracking branch 'upstream/master' into dateTimeFormat
CyrusNajmabadi Apr 14, 2020
c12fec0
Document and validate arguments for RemoveOrTransformAll
sharwell Apr 14, 2020
4c692c4
Add a timeout for Editor.WaitForActiveView
sharwell Apr 14, 2020
f34c527
Tests
CyrusNajmabadi Apr 14, 2020
2792d31
Update Xunit.Combinatorial to 1.3.2
sharwell Apr 14, 2020
55bb204
Use SetProperty from AbstractNotifyPropertyChanged
dpoeschl Apr 14, 2020
d393266
PR Feedback
dpoeschl Apr 14, 2020
fcacb78
Correctly resize AddParameter (the type input box grows)
dpoeschl Apr 14, 2020
d69f0a4
Put tests in the right files.
dpoeschl Apr 14, 2020
c742517
Remove irrelevant comments
dpoeschl Apr 14, 2020
2a3840e
Remove IterationDataAttribute
sharwell Apr 14, 2020
b81e671
Cite the bug causing incorrect named args in attribute construction.
dpoeschl Apr 14, 2020
e5f0814
Assert that we have an IsParams parameter symbol when generating expl…
dpoeschl Apr 14, 2020
63f23e3
Nullable enable the CSharpChangeSignatureServices
dpoeschl Apr 14, 2020
7ad2a6e
Merge remote-tracking branch 'upstream/master' into dateTimeFormat
CyrusNajmabadi Apr 14, 2020
770bdee
Add indirection
CyrusNajmabadi Apr 15, 2020
b150e1b
Add test
CyrusNajmabadi Apr 15, 2020
309ee82
Use safe handles for SQLite interop
sharwell Apr 15, 2020
6ccee6b
Capture heap dump when integration test crashes in CI
sharwell Apr 15, 2020
e29d82c
Move to newer CodeStyle package
mavasani Apr 15, 2020
a11e555
Fix IDE0055 (Formatting analyzer) with FixAll in solution
dotnet-bot Apr 15, 2020
b610746
Move CodeStyle layer to Microsoft.CodeAnalysis 3.6.0
mavasani Apr 15, 2020
055ed22
Remove conditional code that was added due to older version of Micros…
mavasani Apr 15, 2020
db47886
Add suppression
mavasani Apr 15, 2020
4aee41b
Gate the construction of the singleton RemoteWorkspace
sharwell Apr 15, 2020
537e756
Make sure IPersistentStorage instances are disposed
sharwell Apr 15, 2020
80bd93f
Update databindings immediately instead of on focus lost
dpoeschl Apr 15, 2020
0603145
Misc. data consistency measures
dpoeschl Apr 15, 2020
6f30d11
Show warning in ChangeSig dialog for duplicated param names
dpoeschl Apr 15, 2020
019d1ad
ChangeSignature - Allow removal of added optional parameters
dpoeschl Apr 15, 2020
e608631
Simplify SQLite safe handles
sharwell Apr 15, 2020
763a4c3
Refactor code to simplify handle creation
sharwell Apr 15, 2020
95ad938
Consolidate use of DangerousGetHandle to NativeMethods
sharwell Apr 15, 2020
fe3fc6a
Fix broken unit test baseline
dpoeschl Apr 15, 2020
9e48ecf
Merge pull request #43370 from sharwell/remote-workspace
sharwell Apr 15, 2020
c8685bc
Unskip UseExplicitTypeTests in CodeStyle layer
mavasani Apr 15, 2020
a7365de
Merge pull request #43364 from sharwell/capture-dump
sharwell Apr 15, 2020
e13a9f0
Merge pull request #43353 from sharwell/update-combinatorial
sharwell Apr 15, 2020
c618067
Merge pull request #34802 from sharwell/regex-features
sharwell Apr 15, 2020
d9fff27
Merge remote-tracking branch 'upstream/master' into MoveToNewCodeStyle
mavasani Apr 15, 2020
371f06d
Fix
CyrusNajmabadi Apr 15, 2020
42eb878
Fix for real
CyrusNajmabadi Apr 15, 2020
906f0ad
Handle OmittedArgumentSyntax when adding a name to a VB argument
dpoeschl Apr 15, 2020
c9aa03a
Merge pull request #43277 from sharwell/nullable-formatter
sharwell Apr 15, 2020
e7b26d5
Merge pull request #43338 from sharwell/submittext-timeout
sharwell Apr 15, 2020
49f7f8c
PR Feedback
dpoeschl Apr 15, 2020
41f4f79
Merge remote-tracking branch 'dotnet/master' into AddOptionalParameter
dpoeschl Apr 15, 2020
3d614b9
Add hover support for razor lsp
dibarbet Apr 15, 2020
9721c5d
Fix a comment typo in Csc.cs (#43369)
amis92 Apr 15, 2020
1511bfe
Use hand-written nuspec for Microsoft.VisualStudio.LanguageServices p…
tmat Apr 15, 2020
51b9c3a
Merge pull request #43368 from mavasani/MoveToNewCodeStyle
mavasani Apr 15, 2020
1ea970e
Update type name status strings
dpoeschl Apr 15, 2020
8bd2635
Merge remote-tracking branch 'upstream/master' into dateTimeFormat
CyrusNajmabadi Apr 15, 2020
a0351e3
Consolidate notes, add notes for 4/15.
333fred Apr 16, 2020
93384ec
Enable ngen for codelens assembly
genlu Apr 16, 2020
c827730
Merge remote-tracking branch 'upstream/master' into MoveCodeStyleLaye…
mavasani Apr 16, 2020
01af39f
Fix nullable warning
mavasani Apr 16, 2020
1ea005a
Merge branch 'master' into Issue_#41822
Sliptory Apr 16, 2020
a88e60a
Avoid sharing ReferenceManager across script compilations that do not…
tmat Apr 16, 2020
e542a0b
Merge pull request #43124 from GrahamTheCoder/simplification/field-as…
CyrusNajmabadi Apr 16, 2020
4188058
Merge remote-tracking branch 'dotnet/master' into safe-handle
sharwell Apr 16, 2020
436829d
Merge pull request #43306 from mavasani/FixNonConfigurable
mavasani Apr 16, 2020
39c31e3
Update ReleaseHandle to check return values
sharwell Apr 16, 2020
de40b56
Document non-null return values
sharwell Apr 16, 2020
771d6c9
Simplify the release of the database handle
sharwell Apr 16, 2020
3673f49
Fix extra blank line
dibarbet Apr 16, 2020
03aa9f1
Move SQLite safe handles to a common interop namespace
sharwell Apr 16, 2020
e2ad0b0
Avoid using SQLitePCL.raw outside NativeMethods
sharwell Apr 16, 2020
e648eee
Update the SQLite v2 implementation to use safe handles
sharwell Apr 16, 2020
faf4a44
Share identical implementations
sharwell Apr 16, 2020
303b014
Merge remote-tracking branch 'dotnet/master' into slice-analysis
sharwell Apr 16, 2020
15f5a44
Fix spanish tests
dibarbet Apr 16, 2020
8df8f93
Avoid passing options to AddSuppressOperations
sharwell Apr 13, 2020
4a180e3
Avoid passing options to AddAnchorIndentationOperations
sharwell Apr 13, 2020
b03a062
Avoid passing options to AddIndentBlockOperations
sharwell Apr 13, 2020
c1792fe
Avoid passing options to AddAlignTokensOperations
sharwell Apr 13, 2020
e63f40a
Remove some shims that were being used by Live Unit Testing
jasonmalinowski Apr 16, 2020
cfadb4f
Merge pull request #43396 from genlu/codelensNgen
genlu Apr 16, 2020
799ae2d
Update comment text
JoeRobich Apr 16, 2020
7ae296c
Update comment text
JoeRobich Apr 16, 2020
9387617
Avoid passing options to GetAdjustNewLinesOperation
sharwell Apr 13, 2020
7525b7c
Avoid passing options to GetAdjustSpacesOperation
sharwell Apr 13, 2020
b9e9a3e
Remove public API on DocumentOptionSet
mavasani Apr 16, 2020
2ff2937
Tweak recommendation for assertions (#43381)
jcouv Apr 16, 2020
7698b09
Use DisposableDirectory for resources in AbstractPersistentStorageTests
sharwell Apr 16, 2020
d11a3e8
Merge pull request #43263 from CyrusNajmabadi/dateTimeFormat
CyrusNajmabadi Apr 17, 2020
e138a84
Merge pull request #43388 from dibarbet/razor_hover
dibarbet Apr 17, 2020
ac8a56e
Merge pull request #43167 from ryzngard/issues/41869_uninitialized_pr…
Apr 17, 2020
39b40df
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Apr 17, 2020
3ea829b
Merge pull request #43361 from sharwell/safe-handle
sharwell Apr 17, 2020
8a39dd2
Merge pull request #43205 from sharwell/slice-analysis
sharwell Apr 17, 2020
0bb5b0a
Simplify code per code reviews
sharwell Apr 17, 2020
ef734e1
Merge pull request #43367 from mavasani/MoveCodeStyleLayerAhead
Apr 17, 2020
f5bc26d
Don't evaluate side effects on direct assignment to an array on LHS o…
YairHalberstadt Apr 17, 2020
b649354
Simplify import of Microsoft.VsSDK.targets
sharwell Apr 17, 2020
4949e50
Merge pull request #43278 from sharwell/nuget-completion
sharwell Apr 17, 2020
fda257e
Merge remote-tracking branch 'dotnet/master' into rules-have-options
sharwell Apr 17, 2020
7ebe02f
Merge pull request #43422 from dotnet/dev/jorobich/update-comment-text1
JoeRobich Apr 17, 2020
1eb5ee4
Merge pull request #43423 from dotnet/dev/jorobich/update-comment-text2
JoeRobich Apr 17, 2020
e6905bd
Merge pull request #43411 from jasonmalinowski/clean-up-some-shims
jasonmalinowski Apr 17, 2020
46cccea
Misc cleanup to ParameterViewModels
dpoeschl Apr 17, 2020
0419e80
Enabled partial ngen for LanguageServices
genlu Apr 17, 2020
0c847a1
Merge pull request #43412 from sharwell/rules-have-options
sharwell Apr 17, 2020
b18cb03
Merge pull request #42807 from YairHalberstadt/fix-ltr-semantics-async
333fred Apr 17, 2020
e6a67b2
Group AddParameter controls, add some spacing, adjust strings
dpoeschl Apr 17, 2020
a045e96
Merge pull request #43444 from sharwell/unnecessary-conditions
sharwell Apr 17, 2020
a15732b
Merge pull request #42947 from allisonchou/AddTelemetryGenerateEditor…
allisonchou Apr 17, 2020
f2da910
VB
tmat Apr 17, 2020
6c5512f
Merge pull request #43428 from mavasani/ApiBreakFix
mavasani Apr 17, 2020
f86a998
Merge pull request #43454 from dotnet/dev/gel/enablePartialNgen
genlu Apr 18, 2020
5acc223
Ensure the initial symbol a user searches for is top of hte find-refs…
CyrusNajmabadi Apr 18, 2020
d84800b
Document new conversions in general test plan (#43427)
jcouv Apr 18, 2020
5a215f3
Don't report find-monikers progress when no richnav system is present.
CyrusNajmabadi Apr 18, 2020
edbcd96
Remove progress tracking from richnav searching.
CyrusNajmabadi Apr 18, 2020
4f979ca
Fix
tmat Apr 18, 2020
24911da
Extract helper method
CyrusNajmabadi Apr 18, 2020
d408866
Fix goto-impl multi-targetting
CyrusNajmabadi Apr 18, 2020
6caf28a
Fix
CyrusNajmabadi Apr 18, 2020
252c87f
Rename
CyrusNajmabadi Apr 18, 2020
387b405
Simplify
CyrusNajmabadi Apr 18, 2020
63f022a
Simplify
CyrusNajmabadi Apr 18, 2020
a49d4e8
Add docs
CyrusNajmabadi Apr 18, 2020
284db94
Simplify
CyrusNajmabadi Apr 18, 2020
262141e
Merge remote-tracking branch 'tmat/FixRefMgrSharing' into allowSymbol…
CyrusNajmabadi Apr 18, 2020
00cc577
Consolidate test options collections
sharwell Apr 18, 2020
eee9960
Remove unnecessary interface IOptionsCollection
sharwell Apr 18, 2020
59ba8ac
Merge pull request #43465 from dotnet/merges/release/dev16.6-to-master
Apr 18, 2020
38f4db3
Remove SymbolAndProjectId
CyrusNajmabadi Apr 6, 2020
8f9870f
Finish
CyrusNajmabadi Apr 18, 2020
935c692
Fix
CyrusNajmabadi Apr 19, 2020
3bf9f73
Fix formatting
dpoeschl Apr 19, 2020
a416a12
Fix
CyrusNajmabadi Apr 19, 2020
dd09aa5
Use strongly-typed option values
sharwell Apr 19, 2020
4c5274d
Merge remote-tracking branch 'upstream/master' into allowSymbolOOPAnd…
CyrusNajmabadi Apr 19, 2020
a453c47
Remove unused using
CyrusNajmabadi Apr 19, 2020
27f6e3a
Remove unused using
CyrusNajmabadi Apr 19, 2020
6970b71
Make OptionsCollection.GetEditorConfigText an extension method
sharwell Apr 19, 2020
4309817
Move OptionsCollection to Roslyn.Services.UnitTests.Utilities
sharwell Apr 19, 2020
e7123fb
Use OptionsCollection in the formatter unit tests
sharwell Apr 19, 2020
f1b4c29
Remove unused using
CyrusNajmabadi Apr 19, 2020
5cbf183
Do not offer to remove cast if it will cause the compiler to warn abo…
CyrusNajmabadi Apr 19, 2020
478fdbf
Remove several unnecessary obsolete methods
sharwell Apr 19, 2020
86fc711
Add nullable tests.
CyrusNajmabadi Apr 19, 2020
a32aa65
Merge pull request #43486 from sharwell/simplify-options
sharwell Apr 20, 2020
54fd5f4
Avoid sharing ReferenceManager across script compilations that do not…
tmat Apr 20, 2020
278435e
Reuse previous lambda body binding if possible (#43366)
cston Apr 20, 2020
d17b2f4
Snapshot service refactoring (#43485)
tmat Apr 20, 2020
b134a45
Fix
CyrusNajmabadi Apr 20, 2020
fa62b69
Merge pull request #42952 from dpoeschl/AddOptionalParameter
Apr 20, 2020
1c2f0a0
Add vscode tasks to run tests in current file/project (#43434)
RikkiGibson Apr 20, 2020
cf881c6
Merge pull request #43479 from CyrusNajmabadi/gotoImplMultiTargetting
CyrusNajmabadi Apr 20, 2020
e6ce579
Small pieces of find-usages cleanup.
CyrusNajmabadi Apr 20, 2020
9e6db8d
Tweak
CyrusNajmabadi Apr 20, 2020
13e8628
Update src/EditorFeatures/Core/FindUsages/FindUsagesHelpers.cs
CyrusNajmabadi Apr 20, 2020
aabc4b7
Tweak
CyrusNajmabadi Apr 20, 2020
933368e
Merge remote-tracking branch 'upstream/master' into allowSymbolOOPAnd…
CyrusNajmabadi Apr 20, 2020
989df6f
Tweak
CyrusNajmabadi Apr 20, 2020
c2b342c
Merge branch 'usagesCleanup' of https://github.com/CyrusNajmabadi/ros…
CyrusNajmabadi Apr 20, 2020
7495893
Merge remote-tracking branch 'upstream/master' into allowSymbolOOp3
CyrusNajmabadi Apr 20, 2020
863593d
Tweak grammar
CyrusNajmabadi Apr 20, 2020
f1de8bf
Tweak grammar
CyrusNajmabadi Apr 20, 2020
9d1bd7c
Use resource
CyrusNajmabadi Apr 20, 2020
80618cc
Merge branch 'allowSymbolOOp3' into allowSymbolOOPAndNoSymAndProjId
CyrusNajmabadi Apr 20, 2020
1b70228
Add arg checking.
CyrusNajmabadi Apr 20, 2020
c724920
Annotate InteractiveHost (#43491)
tmat Apr 20, 2020
37efffc
Merge pull request #43429 from 333fred/notes
jaredpar Apr 20, 2020
c492a3d
Fix up asserting in TypeInferrerTests.vb
jasonmalinowski Apr 20, 2020
ed8ac99
Fix
CyrusNajmabadi Apr 20, 2020
71f3771
Avoid using SQLite types in type signatures
sharwell Apr 20, 2020
6857f1c
Rename
CyrusNajmabadi Apr 20, 2020
c7c78a9
Merge pull request #43513 from CyrusNajmabadi/usagesCleanup
Apr 20, 2020
05b2ed1
Merge remote-tracking branch 'upstream/master' into allowSymbolOOPAnd…
CyrusNajmabadi Apr 20, 2020
f54cd3a
Update the TypeInferrers to infer a better type with Enum.HasFlags
jasonmalinowski Apr 20, 2020
bbe1d6b
Siplify code
CyrusNajmabadi Apr 20, 2020
b1e0e6c
Siplify code
CyrusNajmabadi Apr 20, 2020
edc9680
IsLastTokenOfNode should not set its out parameter when it fails
CyrusNajmabadi Apr 20, 2020
f2c6f4c
Merge remote-tracking branch 'upstream/master' into Issue_#41822
CyrusNajmabadi Apr 20, 2020
2662c8c
Properly generate interpolations
CyrusNajmabadi Apr 21, 2020
ce817d5
Fix
CyrusNajmabadi Apr 21, 2020
45228ff
Fix
CyrusNajmabadi Apr 21, 2020
b06e741
Merge pull request #43207 from CyrusNajmabadi/allowSymbolOOp3
Apr 21, 2020
cb247f5
Merge branch 'master' into allowSymbolOOPAndNoSymAndProjId
CyrusNajmabadi Apr 21, 2020
dc97d34
Simplify
CyrusNajmabadi Apr 21, 2020
10f383f
Simplify
CyrusNajmabadi Apr 21, 2020
36bb0e5
Merge pull request #42101 from Sliptory/Issue_#41822
Apr 21, 2020
6ec123b
Don't collapse the other items
CyrusNajmabadi Apr 21, 2020
da2e1b1
Add a test to confirm that the compiler does not crash. (#43516)
Apr 21, 2020
2ef8ced
Add a test to confirm that the compiler does not crash. (#43516)
Apr 21, 2020
9b4fda5
Add a test to verify that a bug is fixed. (#43518)
Apr 21, 2020
cd6316c
Merge pull request #43525 from CyrusNajmabadi/lastTokenOfNode
CyrusNajmabadi Apr 21, 2020
ba2a479
Add argument checks
CyrusNajmabadi Apr 21, 2020
ddbf416
Introduce a dedicated option type for rename.
CyrusNajmabadi Apr 21, 2020
bbc46fa
Merge pull request #43519 from sharwell/sqlite-handle-signatures
genlu Apr 21, 2020
09fe39d
always partition tests assemblies
jmarolf Apr 21, 2020
6376437
Rename methods to make it clear what process they should run in
CyrusNajmabadi Apr 21, 2020
daca1f0
Add remark
CyrusNajmabadi Apr 21, 2020
531f900
Use auto props
CyrusNajmabadi Apr 21, 2020
ca9625b
Format the name for an array type with parentheses in VB (#42789)
lbargaoanu Apr 21, 2020
ac5fb3f
Fixed MakeFieldReadonlyCodeFixProvider for volatile fields.
zaytsev-victor Apr 21, 2020
43eeaf3
Merge pull request #43483 from CyrusNajmabadi/allowSymbolOOPAndNoSymA…
CyrusNajmabadi Apr 21, 2020
0812ebf
Make dedicated data constructor
CyrusNajmabadi Apr 21, 2020
af1942e
Enable langversion parsing for script command line (#42879)
alrz Apr 21, 2020
c0d2137
Don't hoist ref locals (#43463)
RikkiGibson Apr 21, 2020
95530c5
Add callout (unimplemented) to finding rename locations
CyrusNajmabadi Apr 21, 2020
f5d7a4e
Add schema for BoundNodes.xml (#43379)
AdamSpeight2008 Apr 21, 2020
d40d46d
Add schema for Syntax.xml (#43378)
AdamSpeight2008 Apr 21, 2020
45d9c60
Fix typos (#43494)
cston Apr 21, 2020
406a5a4
Update for partial methods
jaredpar Apr 21, 2020
650cf03
Update docs/Language Feature Status.md
jaredpar Apr 21, 2020
4229967
Merge pull request #43547 from jaredpar/docs
jaredpar Apr 21, 2020
e9d748d
Merge pull request #43521 from jasonmalinowski/allow-enum-preselectio…
jasonmalinowski Apr 21, 2020
bf6c131
Merge pull request #43459 from sharwell/share-code
sharwell Apr 22, 2020
22a0dc9
Update tests to run OOP
CyrusNajmabadi Apr 21, 2020
d866747
Support error locals in symbolkey
CyrusNajmabadi Apr 21, 2020
e90cf29
Support OOP with dynamic types.
CyrusNajmabadi Apr 21, 2020
2cdfd45
Add support for cref-type-parameters.
CyrusNajmabadi Apr 22, 2020
50d0e54
Merge pull request #43539 from jmarolf/infra/always-partition-tests
jmarolf Apr 22, 2020
df5bbbc
Fix GetSymbolInfo on ValueTuple declaration (#43467)
jcouv Apr 22, 2020
8f4fdad
Merge pull request #43492 from CyrusNajmabadi/orWideningCastCheck
CyrusNajmabadi Apr 22, 2020
1dee068
Rename methods
CyrusNajmabadi Apr 22, 2020
a7ed207
Push options down.
CyrusNajmabadi Apr 22, 2020
2c3af48
use capacity when creating builders.
CyrusNajmabadi Apr 22, 2020
6952136
PR feedback
zaytsev-victor Apr 22, 2020
4d3e5d3
Update src/Analyzers/Core/CodeFixes/MakeFieldReadonly/AbstractMakeFie…
zaytsev-victor Apr 22, 2020
f023226
Merge remote-tracking branch 'upstream/master' into findRefsCollapsing
CyrusNajmabadi Apr 22, 2020
7258527
Merge remote-tracking branch 'upstream/master' into renameOOP4
CyrusNajmabadi Apr 22, 2020
6bf71e1
Fix
CyrusNajmabadi Apr 22, 2020
a1b8670
Merge pull request #43554 from CyrusNajmabadi/renameOOP4
Apr 22, 2020
d99f93a
Merge pull request #43542 from zaytsev-victor/Fixed42759
CyrusNajmabadi Apr 22, 2020
27aab41
Merge pull request #43472 from CyrusNajmabadi/findRefsCollapsing
Apr 22, 2020
723440c
Merge branch 'master' of https://github.com/dotnet/roslyn into covari…
Apr 22, 2020
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
  •  
  •  
  •  
72 changes: 62 additions & 10 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,35 @@
"tasks": [
{
"label": "build",
"command": "./build.cmd",
"command": "./build.sh",
"type": "shell",
"args": [
],
"windows": {
"command": "./build.cmd",
},
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build skip analyzers",
"command": "./build.cmd",
"command": "./build.sh",
"type": "shell",
"args": [
"-skipAnalyzers"
"--skipAnalyzers"
],
"windows": {
"command": "./build.cmd",
"args": [
"-skipAnalyzers"
],
},
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "build csc skip analyzers",
"command": "dotnet",
"command": "./.dotnet/dotnet",
"type": "shell",
"args": [
"msbuild",
Expand All @@ -36,17 +45,60 @@
"group": "build"
},
{
"label": "build directory skip analyzers",
"command": "dotnet",
"label": "build current project skip analyzers",
"command": "./.dotnet/dotnet",
"type": "shell",
"args": [
"msbuild",
"-p:UseRoslynAnalyzers=false",
"-p:GenerateFullPaths=true",
"${fileDirname}"
"pwsh",
"${workspaceRoot}/scripts/vscode-build.ps1",
"-filePath",
"${file}"
],
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "generate compiler code",
"command": "./.dotnet/dotnet",
"type": "shell",
"args": [
"pwsh",
"${workspaceRoot}/eng/generate-compiler-code.ps1"
],
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "run tests in current file (netcoreapp3.1)",
"command": "./.dotnet/dotnet",
"type": "shell",
"args": [
"pwsh",
"${workspaceRoot}/scripts/vscode-run-tests.ps1",
"-filePath",
"${file}",
"-framework",
"netcoreapp3.1",
"-filter",
"${fileBasenameNoExtension}"
],
"problemMatcher": "$msCompile",
"group": "test"
},
{
"label": "run tests in current project (netcoreapp3.1)",
"command": "./.dotnet/dotnet",
"type": "shell",
"args": [
"pwsh",
"${workspaceRoot}/scripts/vscode-run-tests.ps1",
"-filePath",
"${file}",
"-framework",
"netcoreapp3.1"
],
"problemMatcher": "$msCompile",
"group": "test"
}
]
}
1 change: 1 addition & 0 deletions docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ efforts behind them.
| [Covariant](https://github.com/dotnet/csharplang/issues/49) [Returns](https://github.com/dotnet/csharplang/issues/2844) | [features/covariant-returns](https://github.com/dotnet/roslyn/tree/features/covariant-returns) | [In Progress](https://github.com/dotnet/roslyn/issues/43188) | [gafter](https://github.com/gafter) | TBD,TBD | [gafter](https://github.com/gafter) |
| [Extension GetEnumerator](https://github.com/dotnet/csharplang/issues/3194) | [features/extension-foreach](https://github.com/dotnet/roslyn/tree/features/extension-foreach) | [In Progress](https://github.com/dotnet/roslyn/issues/43184) | [YairHalberstadt](https://github.com/YairHalberstadt) | [333fred](https://github.com/333fred) | [333fred](https://github.com/333fred) |
| [Module initializers](https://github.com/RikkiGibson/csharplang/blob/module-initializers/proposals/module-initializers.md) | TBD | [In progress / design](https://github.com/dotnet/roslyn/issues/40500) | [RikkiGibson](https://github.com/RikkiGibson) [jnm2](https://github.com/jnm2)| [AlekseyTs](https://github.com/AlekseyTs) | [gafter](https://github.com/gafter) |
| [Extending Partial](https://github.com/jaredpar/csharplang/blob/partial/proposals/extending-partial-methods.md) | [features/partial-methods](https://github.com/dotnet/roslyn/tree/features/partial-methods) | In-Progress | [RikkiGibson](https://github.com/RikkiGibson) | [chsienki](https://github.com/chsienki) | [jaredpar](https://github.com/jaredpar) |


# C# 8.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## API Review Notes for September 30th, 2019

### Changes reviewed
Starting commit: `38c90f8401f9e3ee5fb7c82aac36f6b85fdda979`

Ending Commit: `b8a5611e3db4f7ac3b5e1404b129304b5baf843e`

### Notes

IVariableDeclarationOperation:
- What does scripting do for using local declarations in IOperation?

Expand Down
27 changes: 27 additions & 0 deletions docs/compilers/API Notes/4-15-20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## API Review Notes for April 15th, 2020

### Changes reviewed
Starting commit: `c827247a767c0c434dcb77496038b163b9e011da`

Ending Commit: `3375a7b209d1f590940af043e9e39f2cbb503845`

### Notes

#### Everything but Source Generators:

* `Project.RemoveDocuments`: Everything else in this type uses `IEnumerable<T>`, not `ImmutableArray<T>`. If we could start again from day 1 we might make everything that, but given that everything today uses the former, we should do so here. This applies to the overloads on `Solution` as well.
* `Solution.RemoveAdditonalDocuments/RemoveAnalyzerConfigDocuments`: We added these to `Solution`, but not to project, even though that also has the invididual `Remove` methods. We should add them to `Project` as well.
* `DocumentOptionSet.GetOption`: This API was added as a `new` on the concrete `DocumentOptionSet` to cover a change when we moved the implementation up to `OptionSet` and made the method non-virtual. This is not actually a breaking change, so we should remove this.

#### Source Generators:

As a general note, changes that we make here are _not_ considered breaking changes post 16.6.
However, we did take a broad overview of the API surface and have some notes for @chsienki.

* `GeneratorAttribute`: we should consider adding a `LanguageName` attribute to this type.
* `InitializationContext`: Rename to something like `SourceGeneratorInitialzationContext` or similar. Current name is ambiguous.
* `InitializationContext.RegisterForNotifications`:
* Naming is inconsistent with existing `Action` ending for analyzer register methods.
* `SyntaxReceiverCreator`: all other `RegisterForXAction` methods in analyzers use an `Action` or `Func`, as appropriate. We should consider doing the same here.
* `ISyntaxReceiver`: This may be redundant with existing APIs.
* `SourceGeneratorContext`: There is not currently a way to share semantic models and other binding info between source generators. We should design a way for this info to be shared so we can avoid introducing lots of binding from generators.
21 changes: 0 additions & 21 deletions docs/compilers/Design/Notes/9-30-19.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/contributing/Compiler Test Plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ __makeref( x )
- Interpolated string
- Tuple literal
- Tuple
- Default literal
- Implicit object creation (target-typed new)

## Types

Expand Down
7 changes: 3 additions & 4 deletions docs/contributing/Nullable Annotations.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ struct SyntaxTrivia {
}
}
```
- **DO** use explicit validation such as `RoslynDebug.Assert` or
`Contract.ThrowIfNull` to validate state that is passed into the method if it
avoids the need for suppressions later in the method.
- **DO** use explicit validation such as `Debug.Assert` or
`Contract.ThrowIfNull` to capture internal program invariants.
```cs
void M1(SyntaxNode node) {
RoslynDebug.Assert(node.Parent is object);
Debug.Assert(node.Parent is object);
...
M2(node.Parent);
}
Expand Down
10 changes: 8 additions & 2 deletions dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
"isRoot": true,
"tools": {
"dotnet-format": {
"version": "3.2.107801",
"version": "3.3.111304",
"commands": [
"dotnet-format"
]
},
"powershell": {
"version": "7.0.0",
"commands": [
"pwsh"
]
}
}
}
}
4 changes: 2 additions & 2 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.20213.4">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.20215.5">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>1a55276ab9d16792cec595ba870df39a9d97d5ca</Sha>
<Sha>36fd49bf87b14b78d722179b787e6518b5205518</Sha>
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="3.7.0-1.20210.7">
<Uri>https://github.com/dotnet/roslyn</Uri>
Expand Down
75 changes: 3 additions & 72 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
<PropertyGroup>
<!-- Versions used by several individual references below -->
<RoslynDiagnosticsNugetPackageVersion>3.0.0-beta2.20169.3</RoslynDiagnosticsNugetPackageVersion>
<CodeStyleLayerCodeAnalysisVersion>3.3.1</CodeStyleLayerCodeAnalysisVersion>
<CodeStyleLayerCodeAnalysisVersion>3.6.0-2.final</CodeStyleLayerCodeAnalysisVersion>
<MicrosoftCodeAnalysisTestingVersion>1.0.1-beta1.20210.2</MicrosoftCodeAnalysisTestingVersion>
<CodeStyleAnalyzerVersion>3.6.0-2.20157.5</CodeStyleAnalyzerVersion>
<CodeStyleAnalyzerVersion>3.7.0-1.20210.7</CodeStyleAnalyzerVersion>
<VisualStudioEditorPackagesVersion>16.4.248</VisualStudioEditorPackagesVersion>
<ILToolsPackageVersion>5.0.0-alpha1.19409.1</ILToolsPackageVersion>
<MicrosoftVisualStudioLanguageServerPackagesVersion>16.3.27-develop-gdd55e997</MicrosoftVisualStudioLanguageServerPackagesVersion>
Expand Down Expand Up @@ -214,7 +214,7 @@
<xunitVersion>2.4.1-pre.build.4059</xunitVersion>
<xunitanalyzersVersion>0.10.0</xunitanalyzersVersion>
<xunitassertVersion>$(xunitVersion)</xunitassertVersion>
<XunitCombinatorialVersion>1.2.7</XunitCombinatorialVersion>
<XunitCombinatorialVersion>1.3.2</XunitCombinatorialVersion>
<xunitextensibilitycoreVersion>$(xunitVersion)</xunitextensibilitycoreVersion>
<xunitrunnerconsoleVersion>2.4.1-pre.build.4059</xunitrunnerconsoleVersion>
<xunitrunnerwpfVersion>1.0.51</xunitrunnerwpfVersion>
Expand Down Expand Up @@ -245,75 +245,6 @@
<MicrosoftVisualStudioStaticReviewsEmbeddableVersion>0.1.102-alpha</MicrosoftVisualStudioStaticReviewsEmbeddableVersion>
<MicrosoftBclAsyncInterfacesVersion>1.1.0</MicrosoftBclAsyncInterfacesVersion>
</PropertyGroup>
<!--
The following packages are considered implementation details and will not be included
in the list of dependencies of Roslyn packages. They won't flow as package references
to the projects that reference Roslyn packages.
-->
<ItemGroup>
<PrivateVisualStudioPackage Include="EnvDTE" />
<PrivateVisualStudioPackage Include="EnvDTE80" />
<PrivateVisualStudioPackage Include="Microsoft.Internal.Performance.CodeMarkers.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.MSXML" />
<PrivateVisualStudioPackage Include="Microsoft.ServiceHub.Client" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.CallHierarchy.Package.Definitions" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.ComponentModelHost" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.CodingConventions" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.CoreUtility" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Debugger.Engine-implementation" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Debugger.Metadata-implementation" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Debugger.UI.Interfaces" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Designer.Interfaces" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Editor" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.GraphModel" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.ImageCatalog" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Imaging" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Language.CallHierarchy" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Language.Intellisense" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Language.NavigateTo.Interfaces" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Language.StandardClassification" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.LanguageServer.Client" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.LiveShare.LanguageServices.Guest" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.LiveShare.WebEditors" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.OLE.Interop" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Progression.CodeSchema" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Progression.Common" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Progression.Interfaces" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.RemoteControl" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.15.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Design" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Framework" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Immutable.10.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.9.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.10.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.11.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.14.0.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.15.0.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.15.3.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Shell.Interop.15.7.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Telemetry" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Text.Data" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Text.Logic" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Text.UI" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Text.UI.Wpf" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.TextManager.Interop.10.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.TextManager.Interop.12.0" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.TextManager.Interop.16.0.DesignTime" />
<PrivateVisualStudioPackage Include="Microsoft.VisualStudio.Utilities" />
<PrivateVisualStudioPackage Include="Microsoft.VSSDK.BuildTools" />
<PrivateVisualStudioPackage Include="Newtonsoft.Json" />
<PrivateVisualStudioPackage Include="NuGet.VisualStudio" />
<PrivateVisualStudioPackage Include="StreamJsonRpc" />
<PrivateVisualStudioPackage Include="VSLangProj" />
<PrivateVisualStudioPackage Include="VSLangProj2" />
<PrivateVisualStudioPackage Include="VSLangProj80" />
<PrivateVisualStudioPackage Include="VSLangProj140" />
<PrivateVisualStudioPackage Include="VsWebsite.Interop" />
</ItemGroup>
<PropertyGroup>
<UsingToolPdbConverter>true</UsingToolPdbConverter>
<UsingToolSymbolUploader>true</UsingToolSymbolUploader>
Expand Down
37 changes: 32 additions & 5 deletions eng/build-utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function GetProjectOutputBinary([string]$fileName, [string]$projectName = "", [s

function GetPublishData() {
if (Test-Path variable:global:_PublishData) {
return $global:_PublishData
return $global:_PublishData
}

Write-Host "Downloading $PublishDataUrl"
Expand All @@ -38,19 +38,19 @@ function GetBranchPublishData([string]$branchName) {
$data = GetPublishData

if (Get-Member -InputObject $data.branches -Name $branchName) {
return $data.branches.$branchName
return $data.branches.$branchName
} else {
return $null
return $null
}
}

function GetReleasePublishData([string]$releaseName) {
$data = GetPublishData

if (Get-Member -InputObject $data.releases -Name $releaseName) {
return $data.releases.$releaseName
return $data.releases.$releaseName
} else {
return $null
return $null
}
}

Expand Down Expand Up @@ -173,6 +173,33 @@ function Ensure-DotnetSdk() {
throw "Could not find dotnet executable in $dotnetInstallDir"
}

# Walks up the source tree, starting at the given file's directory, and returns a FileInfo object for the first .csproj file it finds, if any.
function Get-ProjectFile([object]$fileInfo) {
Push-Location

Set-Location $fileInfo.Directory
try {
while ($true) {
# search up from the current file for a folder containing a csproj
$files = Get-ChildItem *.csproj
if ($files) {
return $files[0]
}
else {
$location = Get-Location
Set-Location ..
if ((Get-Location).Path -eq $location.Path) {
# our location didn't change. We must be at the drive root, so give up
return $null
}
}
}
}
finally {
Pop-Location
}
}

function Get-VersionCore([string]$name, [string]$versionFile) {
$name = $name.Replace(".", "")
$name = $name.Replace("-", "")
Expand Down
Loading