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

Merges/master to features/module initializers #44963

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1588 commits
Select commit Hold shift + click to select a range
120769e
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
711ba7d
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
9870470
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
c11a126
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
8bac85f
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
e236e2f
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
8e3e965
Update src/Workspaces/CoreTest/SymbolKeyTests.cs
CyrusNajmabadi Jun 2, 2020
0b37a16
Lint
CyrusNajmabadi Jun 2, 2020
6ce8ded
Merge pull request #44728 from mavasani/AddCodeActionValidation
mavasani Jun 2, 2020
0ae1008
Flow analysis of with-expressions (#44644)
RikkiGibson Jun 2, 2020
d3458e8
Update DropAppVersion
RikkiGibson Jun 2, 2020
73c001f
Remove duplicate blank lines
CyrusNajmabadi Apr 30, 2020
bce9312
Remove duplicate blank lines
CyrusNajmabadi Apr 30, 2020
369ece9
Share diagnostic severity configuration for C# and VB
sharwell Jun 2, 2020
8375541
Enable RS0101 (Avoid multiple blank lines)
sharwell Jun 2, 2020
a251dff
Merge pull request #44751 from sharwell/update-slnf
sharwell Jun 2, 2020
2f5344b
Merge pull request #44486 from sharwell/operation-feature
sharwell Jun 2, 2020
8e4264f
Merge branch 'missingNamespace' of https://github.com/CyrusNajmabadi/…
CyrusNajmabadi Jun 2, 2020
90273de
Merge pull request #44783 from RikkiGibson/update-dropapp-version
Jun 2, 2020
0f68e24
Implement parsing for record_base_arguments. (#44733)
AlekseyTs Jun 2, 2020
37d900c
Ensure that we show all applicable refactorings for lightbulb under t…
mavasani Jun 2, 2020
0e343bb
Remove experiment names
dibarbet Jun 2, 2020
e26e046
Only offer 'Use coalesce expression' in C#8 and above.
CyrusNajmabadi Jun 2, 2020
d07a592
Cleaner generated code
sharwell May 5, 2020
da1bbaf
Update readme (#44386)
kendrahavens Jun 2, 2020
f6c95ab
Merge pull request #43823 from CyrusNajmabadi/removeDuplicateBlankLines
sharwell Jun 2, 2020
46d0d1f
Remove `GetPositionBeforeParameterListClosingBrace`
dpoeschl Jun 2, 2020
eebb3e4
Add support for nominal records (#44774)
agocke Jun 2, 2020
b5c63ed
Simplify
CyrusNajmabadi Jun 2, 2020
7a80c18
Simplify more.
CyrusNajmabadi Jun 2, 2020
6b3ce16
Merge pull request #44798 from CyrusNajmabadi/featureVersion
Jun 2, 2020
0f7ebd1
Simplify further
CyrusNajmabadi Jun 2, 2020
9e16aa6
Simplify
CyrusNajmabadi Jun 2, 2020
d9fa000
Simplify
CyrusNajmabadi Jun 2, 2020
da26bc3
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 2, 2020
884fdff
Merge pull request #44713 from CyrusNajmabadi/missingNamespace
CyrusNajmabadi Jun 3, 2020
394b6c0
REvert
CyrusNajmabadi Jun 3, 2020
52d770b
Fix null reference exception with convert tuple with inaccessible Sys…
jasonmalinowski Jun 3, 2020
1b75734
Revert "Revert "Refactoring of Active Statement tracking for OOP"" (#…
tmat Jun 3, 2020
ce442e7
propagate cancellation tokens
jmarolf Jun 3, 2020
a37aeb1
Merge pull request #44811 from jmarolf/bugfix/forward-cancellation-to…
Jun 3, 2020
b104b88
Merge pull request #44739 from CyrusNajmabadi/genConstructorWithProps
CyrusNajmabadi Jun 3, 2020
9486073
Fix fading locations for unnecessary code.
CyrusNajmabadi Jun 3, 2020
59df8c1
Merge remote-tracking branch 'upstream/master' into unnecessaryParenF…
CyrusNajmabadi Jun 3, 2020
8f4ca69
Add test
CyrusNajmabadi Jun 3, 2020
047af13
Introduce local function to reduce stack usage
MykolaBalakin Jun 3, 2020
ba0920f
Pass readonly structure by ref to reduce caller stack frame size
MykolaBalakin Jun 3, 2020
56ce056
Use inherited properties for records (#44705)
cston Jun 3, 2020
b5067a8
Refactored the bolding code to be more readable and easy to understand
Jun 3, 2020
7216978
Update dependencies from https://github.com/dotnet/arcade build 20200…
dotnet-maestro[bot] Jun 3, 2020
558d04b
Merge pull request #44808 from jasonmalinowski/fix-convert-struct-to-…
jasonmalinowski Jun 3, 2020
863ffa0
Change implementation of a SynthesizedRecordConstructor to act more l…
AlekseyTs Jun 3, 2020
cff0243
Use MEF catalog instead of direct construction
sharwell Jun 3, 2020
a15d2c9
Merge remote-tracking branch 'dotnet/master' into dev/gel/centralOptprof
genlu Jun 3, 2020
b3512ae
Merge remote-tracking branch 'upstream/master' into merge-to-records
agocke Jun 3, 2020
cc4206c
Use MEF instead of direct construction
sharwell Jun 3, 2020
6f26a99
Introduce local function to reduce stack usage
MykolaBalakin Jun 3, 2020
a4b7995
Merge remote-tracking branch 'upstream/features/records' into merge-t…
agocke Jun 3, 2020
a4fb66a
Move the Quick Info handling for await back into Quick Info
jasonmalinowski May 28, 2020
22e29d7
Fix vb type inference for tuples
CyrusNajmabadi Jun 3, 2020
96cb161
Update RoslynSyntaxClassificationServiceFactory.cs
dibarbet Jun 3, 2020
0bb2853
Watch directories for source files and some metadata references
jasonmalinowski Mar 5, 2020
5cf5afd
Move the nullable flow state shown from quick info into TokenInformation
jasonmalinowski May 29, 2020
d995340
Remove a bunch of unnecessary null checking
jasonmalinowski May 29, 2020
62af45e
Fix RecordTests (#44836)
RikkiGibson Jun 3, 2020
38bde2d
Merge remote-tracking branch 'upstream/features/records' into merge-t…
agocke Jun 3, 2020
a8293d7
Merge with features/records
agocke Jun 3, 2020
b1c42b3
Merge pull request #44839 from CyrusNajmabadi/inferTypes
Jun 3, 2020
73e55f0
Merge pull request #44775 from dibarbet/remove_classifications_exp
dibarbet Jun 3, 2020
b774364
Add an LSP solution provider to retrieve the solution from the correc…
dibarbet Jun 2, 2020
082d76b
Fixed redundancy, logic duplication, and formatting issues
Jun 3, 2020
ff86816
Merge pull request #44655 from jasonmalinowski/quick-info-refactoring
Jun 4, 2020
cdda756
Remove the constant for the .editorconfig experiment
jasonmalinowski Jun 4, 2020
c798f06
Change the storage location for the option to use legacy .editorconfig
jasonmalinowski Jun 4, 2020
d9d1651
Rename the Unit Testing side Json (#44814)
Cosifne Jun 4, 2020
cef3156
Merge pull request #44812 from agocke/merge-to-records
Jun 4, 2020
53caa79
Change data class to "record"
agocke Jun 3, 2020
fdb60ac
Respond to PR comments
agocke Jun 4, 2020
1ccf547
Move a few varialbes out of case statements to reduce stack frame size
MykolaBalakin Jun 4, 2020
146ac32
Introduce ReportDiagnosticsIfObsolete overload to extract the cast fr…
MykolaBalakin Jun 4, 2020
7871621
Updated Error Message for CS1673 (#44835)
kevinsun-dev Jun 4, 2020
5739a4c
Respond to PR comments
agocke Jun 4, 2020
c4b63da
Add partial test
agocke Jun 4, 2020
854bb36
Check for record declaration in more places
agocke Jun 4, 2020
c912c90
Add breaking change note to the post-2019 breaking changes doc
agocke Jun 4, 2020
3b8cccc
Adjust breaking change scope
agocke Jun 4, 2020
0b767d7
Adjust tests from comments
agocke Jun 4, 2020
c9ab85e
Merge pull request #44796 from mavasani/Issue44594
mavasani Jun 4, 2020
4f7a417
Remove temp variable to pass stack test
agocke Jun 4, 2020
51b329c
Merge pull request #44847 from jasonmalinowski/update-editorconfig-en…
jasonmalinowski Jun 4, 2020
f9756dd
Clarify comment around behavior in Dispose() and why it's not taking …
jasonmalinowski Jun 4, 2020
4ca2cb5
Merge branch 'master' into RemoveGetPositionBeforeParameterListClosin…
Jun 4, 2020
8c624b2
Remove redundant helper.
CyrusNajmabadi Jun 4, 2020
cf73630
Update src/EditorFeatures/CSharpTest/Classification/SemanticClassifie…
akhera99 Jun 4, 2020
101da01
Merge branch 'master' into fix_nameof_bolding
akhera99 Jun 4, 2020
722719b
Temporarily decrease stack depth
agocke Jun 4, 2020
a9fb862
Merge pull request #42180 from jasonmalinowski/switch-to-directory-wa…
Jun 4, 2020
cf257b4
Remove build enforcement of unused usings in IDE layers
mavasani Jun 4, 2020
8758854
Fixed spacing and removed unused directive
Jun 4, 2020
3b8a202
Spellcheck should not offer the full signatures of explicit members w…
CyrusNajmabadi Jun 4, 2020
e669ac6
Merge pull request #44858 from CyrusNajmabadi/removeMethod
Jun 4, 2020
5e8c7ad
Merge pull request #44841 from agocke/record-keyword
Jun 4, 2020
c265071
Merge pull request #44864 from mavasani/UnusedUsings
Jun 5, 2020
20f78b0
Ensure that TodoCommentOptions are serialized to OOP
mavasani Jun 5, 2020
9aa2697
Add feature to remove confusing use of suppression operator
CyrusNajmabadi Jun 5, 2020
697663a
Simplify
CyrusNajmabadi Jun 5, 2020
c552d52
Merge pull request #44873 from mavasani/Issue43788
mavasani Jun 5, 2020
da02b3e
Merge pull request #44797 from akhera99/fix_nameof_bolding
akhera99 Jun 5, 2020
ce876b5
Avoid localizing Empty.resx
sharwell Jun 5, 2020
d1532d6
Merge pull request #44817 from CyrusNajmabadi/unnecessaryParenFading
Jun 5, 2020
5de8552
Update
CyrusNajmabadi Jun 5, 2020
d85e5e2
Adapt IDE to new record syntax (#44880)
jcouv Jun 5, 2020
efb10bd
Tests
CyrusNajmabadi Jun 5, 2020
11f38ed
Add tests.
CyrusNajmabadi Jun 5, 2020
672c1e0
Update src/Analyzers/Core/Analyzers/IDEDiagnosticIds.cs
CyrusNajmabadi Jun 5, 2020
cae427f
Update src/Features/CSharp/Portable/RemoveUnnecessarySuppression/CSha…
CyrusNajmabadi Jun 5, 2020
e5ee514
Move to new pattern
CyrusNajmabadi Jun 5, 2020
e6afc95
Sg embedded sources (#44768)
chsienki Jun 5, 2020
9e363ac
Merge branch 'removeSuppression' of https://github.com/CyrusNajmabadi…
CyrusNajmabadi Jun 5, 2020
09e286f
not in code_style
CyrusNajmabadi Jun 5, 2020
062cfa5
Bind base arguments fo records (#44876)
AlekseyTs Jun 5, 2020
fbf71cf
Add reqired API for moving SBD analyzer OOP (#43856)
Cosifne Jun 5, 2020
7772bed
Fix duplicate/inaccurate GoToDef #44846
allisonchou Jun 5, 2020
adda0b2
Merge pull request #44878 from CyrusNajmabadi/removeSuppression
Jun 5, 2020
95bc7f2
Add test
allisonchou Jun 6, 2020
b1ea4ae
Remove unnecessary using
allisonchou Jun 6, 2020
9b22e9c
Merge pull request #44892 from sharwell/use-mef
sharwell Jun 6, 2020
3a5c406
Brace completion and IOperation for `with` expression (#44712)
jcouv Jun 6, 2020
c9adb9f
Remove a bunch of PROTOTYPE comments (#44909)
RikkiGibson Jun 6, 2020
9b82fcd
Records: Support EqualityContract in Equals (#44882)
cston Jun 6, 2020
ef0b1d1
Ensure correct binder is used to bind constructor initializers for sy…
AlekseyTs Jun 6, 2020
695da89
Merge pull request #44905 from allisonchou/GoToImplBug
allisonchou Jun 6, 2020
089d7bd
Change name of record Clone method to unspeakable (#44852)
agocke Jun 6, 2020
7adb2a7
Adjust accessibility of a primary constructor in an abstract record. …
AlekseyTs Jun 6, 2020
a943412
Rename
CyrusNajmabadi Jun 6, 2020
dab1748
Merge remote-tracking branch 'upstream/master' into removeSuppression
CyrusNajmabadi Jun 6, 2020
4be66fe
Misc. changes following recent records PR (#44912)
cston Jun 6, 2020
dd66dba
Merge pull request #44922 from CyrusNajmabadi/removeSuppression
CyrusNajmabadi Jun 6, 2020
a646747
Put record parameters in scope withing instance initializers (#44906)
AlekseyTs Jun 6, 2020
c82a696
Merge remote-tracking branch 'dotnet/features/records' into merge-rec…
jcouv Jun 6, 2020
896ac93
Merge pull request #44926 from jcouv/merge-records
Jun 7, 2020
2a58f73
When there is an error in an interpolated string, take the next quote…
Jun 7, 2020
a1f167c
Add compiler options and metadata reference information into portable…
ryzngard Jun 8, 2020
1e0e919
Increase recursion test limits
MykolaBalakin Jun 8, 2020
4c1710d
Bump up the version of Microsoft.CodeAnalysis.AnalyzerUtilities
mavasani Jun 8, 2020
6fb3c50
Dogfood the new .NET analyzers NuGet package
mavasani Jun 8, 2020
571f437
ImplementAbstractClass should trigger on records (#44917)
jcouv Jun 8, 2020
ab0f335
Merge branch 'master' into balakin/stack-usage-optimization
MykolaBalakin Jun 8, 2020
1736c73
Clarified Error 8050 (#44860)
kevinsun-dev Jun 8, 2020
7d79ac7
Fix merge commit mistake
MykolaBalakin Jun 8, 2020
075fe6b
Merge pull request #44940 from mavasani/UpdateAnalyzers
mavasani Jun 8, 2020
dc643b0
Correctly error in function pointer scenarios:
333fred Jun 8, 2020
8e7f983
Emit Clone methods in abstract records as abstract (#44935)
agocke Jun 8, 2020
9d3b6dd
Fix failing tests.
333fred Jun 8, 2020
e797cd2
Rename IOperation for 'with' expression (#44946)
jcouv Jun 8, 2020
210ece4
Trigger completion in 'with' expression (#44925)
jcouv Jun 8, 2020
4dc4660
Update formatting analyzer
sharwell May 13, 2020
f309d21
Verify the format of generated code during builds
sharwell May 13, 2020
6fa39b0
Merge remote-tracking branch 'dotnet/master' into cleaner-codegen
sharwell Jun 8, 2020
2bb37b9
Add span test.
333fred Jun 9, 2020
b99a48b
Merge pull request #44894 from sharwell/empty-resx
sharwell Jun 9, 2020
c94b9fa
Compiler Options in PDB fixups (#44950)
tmat Jun 9, 2020
8e196bc
Sg editorconfig access (#44875)
chsienki Jun 9, 2020
5866c21
Merge pull request #44840 from dotnet/dev/gel/centralOptprof
genlu Jun 9, 2020
0d76a21
Change signature accessibility bugs
allisonchou Jun 9, 2020
847b97b
Merge pull request #44971 from dotnet/merges/release/dev16.7-preview3…
Jun 9, 2020
577c7d6
Add parameter cancel button fix
allisonchou Jun 9, 2020
b05dae0
Merge branch 'release/dev16.7-preview3' into AnalyzerUtilitiesVersion
mavasani Jun 9, 2020
f3b9415
Snap config changes (#44964)
RikkiGibson Jun 9, 2020
c613014
Update SmartTokenFormatterFormatTokenTests for top-level statements
sharwell May 28, 2020
5e307a5
Update SmartTokenFormatterFormatRangeTests for top-level statements
sharwell May 28, 2020
cc11e6d
Add tests for moving a local into a local function
sharwell Jun 9, 2020
474bd37
Merge pull request #43835 from sharwell/cleanup-analyzer
sharwell Jun 9, 2020
8602884
Only run netcore tests on coreclr.
333fred Jun 9, 2020
318e2d8
Change Signature DataGrid accessibility when navigating cells with CA…
dpoeschl Jun 9, 2020
3a9001e
Merge pull request #44938 from mavasani/AnalyzerUtilitiesVersion
mavasani Jun 9, 2020
85cdc5c
Merge branch 'master' of github.com:dotnet/roslyn into balakin/stack-…
RikkiGibson Jun 9, 2020
26ad9ab
Merge branch 'master' into issues/44576_rename_from_other_file
ryzngard Jun 9, 2020
06fee5d
Adjust Desktop baselines
RikkiGibson Jun 9, 2020
c64dc70
When setting cell style, be sure to base it on the more general desir…
dpoeschl Jun 9, 2020
294d85c
Add renamed file name in integration tests
ryzngard Jun 9, 2020
4f7bf7f
Remove unnecessary trailing colon
sharwell Jun 9, 2020
256dfbc
Merge remote-tracking branch 'upstream/master' into spellCheckExplicit
CyrusNajmabadi Jun 9, 2020
26e4060
Update error message.
333fred Jun 9, 2020
8e4c099
Merge pull request #43998 from sharwell/cleaner-codegen
sharwell Jun 9, 2020
f612328
Simplify
CyrusNajmabadi Jun 9, 2020
a960ed9
Merge pull request #44989 from dotnet/merges/release/dev16.7-preview3…
Jun 9, 2020
c99b3ec
Add tests
CyrusNajmabadi Jun 9, 2020
bfb1fc1
Code review feedback
allisonchou Jun 9, 2020
2c03519
Merge pull request #43861 from allisonchou/SelectedItemChangeSignatur…
allisonchou Jun 9, 2020
e0d86a2
Merge pull request #44799 from dpoeschl/RemoveGetPositionBeforeParame…
Jun 9, 2020
331e147
Merge pull request #44986 from dpoeschl/ChangeSigAccessibilityDataGri…
Jun 9, 2020
3c62f4a
ChangeSig - Don't crash on cancel when invoked from the lightbulb
dpoeschl Jun 9, 2020
08a96e2
Merge pull request #44577 from ryzngard/issues/44576_rename_from_othe…
Jun 9, 2020
30e4f3f
Merge pull request #44664 from sharwell/move-declaration
sharwell Jun 9, 2020
449e296
Merge pull request #44954 from 333fred/static-types-in-func-ptrs
Jun 9, 2020
bbfd3d5
Merge pull request #44643 from sharwell/formatter-tests
sharwell Jun 9, 2020
16eb523
Merge pull request #44647 from sharwell/merging-tests
sharwell Jun 9, 2020
51010e5
Msbuild target tests (#44365)
chsienki Jun 9, 2020
71b5c58
Merge pull request #44854 from nbalakin/balakin/stack-usage-optimization
RikkiGibson Jun 9, 2020
e7305ab
Merge pull request #44642 from sharwell/command-handler-tests
sharwell Jun 10, 2020
731f4b7
Merge pull request #44640 from sharwell/completion-tests
sharwell Jun 10, 2020
e7b2d78
Merge pull request #44646 from sharwell/snippet-tests
sharwell Jun 10, 2020
db0d937
Update tuple tests in StatementEditingTests to not be global statements
sharwell Jun 10, 2020
322bb9f
Synthesize Deconstruct on positional records (#44806)
RikkiGibson Jun 10, 2020
39f62eb
Address review feedback
dibarbet Jun 10, 2020
b2a4f18
Ensure we also add VB files dynamically if they weren't originally pr…
jasonmalinowski Jun 10, 2020
406a80c
Update target frameworks for Microsoft.Microsoft.CodeAnalysis.EditorF…
sharwell May 8, 2020
bd7ece3
Merge pull request #45018 from dotnet/merges/release/dev16.7-preview3…
Jun 10, 2020
2a1b75e
Merge pull request #44974 from allisonchou/ChangeSignatureAccessibility
allisonchou Jun 10, 2020
dfd9481
Merge pull request #44641 from sharwell/editing-tests
sharwell Jun 10, 2020
220fe56
Clarified Error 8521 (#44896)
Jun 10, 2020
a5ce454
Add msbuild command syntax for /reportanalyzer
mavasani Jun 10, 2020
a6eb247
Merge pull request #44995 from sharwell/rm-colon
sharwell Jun 10, 2020
2fb8f0f
Generate proper GetHashCode for records. (#44992)
AlekseyTs Jun 10, 2020
4f26f74
Merge pull request #45005 from dpoeschl/ChangeSigNoCrashOnCancellation
Jun 10, 2020
24070f6
Fix whitespace formatting
JoeRobich Jun 10, 2020
7462eb8
Merge branch 'master' into patch-2
JoeRobich Jun 10, 2020
401bbd6
Use 'RoslynPortableTargetFrameworks' where applicable
sharwell Jun 10, 2020
501f7ee
address more feedback
dibarbet Jun 10, 2020
663a053
Merge pull request #45039 from dotnet/merges/release/dev16.7-preview3…
Jun 10, 2020
003add6
Remove extra empty line.
JoeRobich Jun 10, 2020
d45d322
Merge pull request #40143 from Therzok/patch-2
JoeRobich Jun 10, 2020
9165a53
Merge pull request #45023 from sharwell/netcore-editorfeatures-text
sharwell Jun 10, 2020
95adfbd
Inline build property RoslynPortableTargetFrameworks
sharwell Jun 10, 2020
508f29b
Update PublishData.json
RikkiGibson Jun 10, 2020
28932fc
Merge pull request #45016 from jasonmalinowski/fix-vb-workspace-wireup
Jun 11, 2020
a85202d
Merge pull request #44474 from dibarbet/lsp_solution
dibarbet Jun 11, 2020
532a2a6
Merge pull request #45034 from dotnet/mavasani-patch-1
Jun 11, 2020
cf0c32a
Compute and check document indices in parallel
CyrusNajmabadi Jun 11, 2020
3ff438e
Revert
CyrusNajmabadi Jun 11, 2020
4362501
Revert "Revert"
CyrusNajmabadi Jun 11, 2020
c983c3a
Process projects in parallel in FAR>
CyrusNajmabadi Jun 11, 2020
73c3c98
Merge remote-tracking branch 'upstream/master' into spellCheckExplicit
CyrusNajmabadi Jun 11, 2020
81fac63
Fix
CyrusNajmabadi Jun 11, 2020
dd5f432
Fix
CyrusNajmabadi Jun 11, 2020
c463464
Only distinct docs
CyrusNajmabadi Jun 11, 2020
3953d03
Ad contract back in.
CyrusNajmabadi Jun 11, 2020
8f71e87
Simplify
CyrusNajmabadi Jun 11, 2020
1208771
Update src/Features/Core/Portable/SpellCheck/AbstractSpellCheckCodeFi…
CyrusNajmabadi Jun 11, 2020
3e83fc7
Update src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindRe…
CyrusNajmabadi Jun 11, 2020
d3298d8
Merge pull request #43502 from sharwell/segmented-array
sharwell Jun 11, 2020
5c5d58d
Add support for language server exit & shutdown. (#44900)
NTaylorMullen Jun 11, 2020
4c58c0b
Update PublishData.json (#45059)
RikkiGibson Jun 11, 2020
4cdb2de
Merge pull request #45073 from CyrusNajmabadi/farPerfIndexes
Jun 11, 2020
f2c3742
Merge pull request #45057 from sharwell/inline-framework
sharwell Jun 11, 2020
67dfdee
Merge pull request #44529 from eugenesmlv/remove-in-keyword
CyrusNajmabadi Jun 11, 2020
5497274
Merge pull request #44867 from CyrusNajmabadi/spellCheckExplicit
Jun 11, 2020
635bc48
Merge pull request #45074 from CyrusNajmabadi/farProjectParallel
CyrusNajmabadi Jun 11, 2020
f7522d1
Merge remote-tracking branch 'upstream/master' into merges/master-to-…
RikkiGibson Jun 11, 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
  •  
  •  
  •  
12 changes: 9 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ dotnet_diagnostic.RS0037.severity = none
dotnet_diagnostic.RS0005.severity = none

[src/{Analyzers,CodeStyle,Features,Workspaces}/**/*.{cs,vb}]
# IDE0005: Remove unnecessary usings/imports
dotnet_diagnostic.IDE0005.severity = warning

# IDE0011: Add braces
csharp_prefer_braces = when_multiline:warning
# NOTE: We need the below severity entry for Add Braces due to https://github.com/dotnet/roslyn/issues/44201
Expand Down Expand Up @@ -261,3 +258,12 @@ dotnet_diagnostic.IDE0059.severity = warning

# IDE0060: Remove unused parameter
dotnet_diagnostic.IDE0060.severity = warning

# CA1822: Make member static
dotnet_diagnostic.CA1822.severity = warning

# Prefer "var" everywhere
dotnet_diagnostic.IDE0007.severity = warning
csharp_style_var_for_built_in_types = true:warning
csharp_style_var_when_type_is_apparent = true:warning
csharp_style_var_elsewhere = true:warning
23 changes: 22 additions & 1 deletion Compilers.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
"solution": {
"path": "Roslyn.sln",
"projects": [
"src\\Analyzers\\CSharp\\Analyzers\\CSharpAnalyzers.shproj",
"src\\Analyzers\\CSharp\\CodeFixes\\CSharpCodeFixes.shproj",
"src\\Analyzers\\Core\\Analyzers\\Analyzers.shproj",
"src\\Analyzers\\Core\\CodeFixes\\CodeFixes.shproj",
"src\\Analyzers\\VisualBasic\\Analyzers\\VisualBasicAnalyzers.shproj",
"src\\Analyzers\\VisualBasic\\CodeFixes\\VisualBasicCodeFixes.shproj",
"src\\CodeStyle\\CSharp\\Analyzers\\Microsoft.CodeAnalysis.CSharp.CodeStyle.csproj",
"src\\CodeStyle\\CSharp\\CodeFixes\\Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes.csproj",
"src\\CodeStyle\\Core\\Analyzers\\Microsoft.CodeAnalysis.CodeStyle.csproj",
"src\\CodeStyle\\Core\\CodeFixes\\Microsoft.CodeAnalysis.CodeStyle.Fixes.csproj",
"src\\CodeStyle\\VisualBasic\\Analyzers\\Microsoft.CodeAnalysis.VisualBasic.CodeStyle.vbproj",
"src\\CodeStyle\\VisualBasic\\CodeFixes\\Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes.vbproj",
"src\\Compilers\\CSharp\\CSharpAnalyzerDriver\\CSharpAnalyzerDriver.shproj",
"src\\Compilers\\CSharp\\Portable\\Microsoft.CodeAnalysis.CSharp.csproj",
"src\\Compilers\\CSharp\\Test\\CommandLine\\Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests.csproj",
Expand Down Expand Up @@ -46,7 +58,16 @@
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\CSharpSyntaxGenerator\\CSharpSyntaxGenerator.csproj",
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\IOperationGenerator\\CompilersIOperationGenerator.csproj",
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\VisualBasicErrorFactsGenerator\\VisualBasicErrorFactsGenerator.vbproj",
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\VisualBasicSyntaxGenerator\\VisualBasicSyntaxGenerator.vbproj"
"src\\Tools\\Source\\CompilerGeneratorTools\\Source\\VisualBasicSyntaxGenerator\\VisualBasicSyntaxGenerator.vbproj",
"src\\Workspaces\\CSharp\\Portable\\Microsoft.CodeAnalysis.CSharp.Workspaces.csproj",
"src\\Workspaces\\Core\\Portable\\Microsoft.CodeAnalysis.Workspaces.csproj",
"src\\Workspaces\\SharedUtilitiesAndExtensions\\Compiler\\CSharp\\CSharpCompilerExtensions.shproj",
"src\\Workspaces\\SharedUtilitiesAndExtensions\\Compiler\\Core\\CompilerExtensions.shproj",
"src\\Workspaces\\SharedUtilitiesAndExtensions\\Compiler\\VisualBasic\\VisualBasicCompilerExtensions.shproj",
"src\\Workspaces\\SharedUtilitiesAndExtensions\\Workspace\\CSharp\\CSharpWorkspaceExtensions.shproj",
"src\\Workspaces\\SharedUtilitiesAndExtensions\\Workspace\\Core\\WorkspaceExtensions.shproj",
"src\\Workspaces\\SharedUtilitiesAndExtensions\\Workspace\\VisualBasic\\VisualBasicWorkspaceExtensions.shproj",
"src\\Workspaces\\VisualBasic\\Portable\\Microsoft.CodeAnalysis.VisualBasic.Workspaces.vbproj"
]
}
}
7 changes: 0 additions & 7 deletions Roslyn.sln
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.CodeAnalysis.Remo
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Build.Tasks.CodeAnalysis", "src\Compilers\Core\MSBuildTask\Microsoft.Build.Tasks.CodeAnalysis.csproj", "{7AD4FE65-9A30-41A6-8004-AA8F89BCB7F3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roslyn.VisualStudio.RemoteHostClientMock", "src\VisualStudio\RemoteHostClientMock\Roslyn.VisualStudio.RemoteHostClientMock.csproj", "{7259740A-FD0E-480F-A7D4-08BE90AC9051}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Roslyn.VisualStudio.Next.UnitTests", "src\VisualStudio\Core\Test.Next\Roslyn.VisualStudio.Next.UnitTests.csproj", "{2E1658E2-5045-4F85-A64C-C0ECCD39F719}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BuildBoss", "src\Tools\BuildBoss\BuildBoss.csproj", "{9C0660D9-48CA-40E1-BABA-8F6A1F11FE10}"
Expand Down Expand Up @@ -977,10 +975,6 @@ Global
{7AD4FE65-9A30-41A6-8004-AA8F89BCB7F3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AD4FE65-9A30-41A6-8004-AA8F89BCB7F3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AD4FE65-9A30-41A6-8004-AA8F89BCB7F3}.Release|Any CPU.Build.0 = Release|Any CPU
{7259740A-FD0E-480F-A7D4-08BE90AC9051}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7259740A-FD0E-480F-A7D4-08BE90AC9051}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7259740A-FD0E-480F-A7D4-08BE90AC9051}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7259740A-FD0E-480F-A7D4-08BE90AC9051}.Release|Any CPU.Build.0 = Release|Any CPU
{2E1658E2-5045-4F85-A64C-C0ECCD39F719}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2E1658E2-5045-4F85-A64C-C0ECCD39F719}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2E1658E2-5045-4F85-A64C-C0ECCD39F719}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -1358,7 +1352,6 @@ Global
{F822F72A-CC87-4E31-B57D-853F65CBEBF3} = {55A62CFA-1155-46F1-ADF3-BEEE51B58AB5}
{80FDDD00-9393-47F7-8BAF-7E87CE011068} = {55A62CFA-1155-46F1-ADF3-BEEE51B58AB5}
{7AD4FE65-9A30-41A6-8004-AA8F89BCB7F3} = {A41D1B99-F489-4C43-BBDF-96D61B19A6B9}
{7259740A-FD0E-480F-A7D4-08BE90AC9051} = {8DBA5174-B0AA-4561-82B1-A46607697753}
{2E1658E2-5045-4F85-A64C-C0ECCD39F719} = {8DBA5174-B0AA-4561-82B1-A46607697753}
{9C0660D9-48CA-40E1-BABA-8F6A1F11FE10} = {FD0FAF5F-1DED-485C-99FA-84B97F3A8EEC}
{21A01C2D-2501-4619-8144-48977DD22D9C} = {38940C5F-97FD-4B2A-B2CD-C4E4EF601B05}
Expand Down
6 changes: 2 additions & 4 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ resources:
# SignType: real
# SkipTests: false
# SkipApplyOptimizationData: false
# IbcSourceBranchName: 'default'
# IbcDropId: 'default'
# IbcDrop: 'default'
# PRNumber: 'default'

# The variables `_DotNetArtifactsCategory` and `_DotNetValidationArtifactsCategory` are required for proper publishing of build artifacts. See https://github.com/dotnet/roslyn/pull/38259
Expand Down Expand Up @@ -101,8 +100,7 @@ stages:
-officialSkipTests $(SkipTests)
-officialSkipApplyOptimizationData $(SkipApplyOptimizationData)
-officialSourceBranchName $(SourceBranchName)
-officialIbcSourceBranchName $(IbcSourceBranchName)
-officialIbcDropId $(IbcDropId)
-officialIbcDrop $(IbcDrop)
/p:RepositoryName=$(Build.Repository.Name)
/p:VisualStudioDropAccessToken=$(System.AccessToken)
/p:VisualStudioDropName=$(VisualStudio.DropName)
Expand Down
34 changes: 34 additions & 0 deletions azure-pipelines-richnav.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Run on master CI builds
trigger:
branches:
include:
- master

pr: none

jobs:
- job: RichCodeNav_Indexing
pool:
name: NetCorePublic-Pool
queue: BuildPool.Windows.10.Amd64.Open
variables:
EnableRichCodeNavigation: true
timeoutInMinutes: 200

steps:
- script: eng/cibuild.cmd -configuration Debug -prepareMachine
displayName: Build

- task: UseDotNet@2
displayName: 'Use .NET Core sdk'
inputs:
packageType: sdk
version: 2.1.503

- task: RichCodeNavIndexer@0
displayName: RichCodeNav Upload
inputs:
languages: 'csharp'
environment: production
richNavLogOutputDirectory: $(Build.SourcesDirectory)/artifacts/bin
continueOnError: true
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
release_64:
_configuration: Release
_testKind: Test64
timeoutInMinutes: 90
timeoutInMinutes: 120

steps:
- script: eng/cibuild.cmd -configuration $(_configuration) -prepareMachine -testDesktop -$(_testKind) -procdump
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
pool:
name: NetCorePublic-Pool
queue: BuildPool.Windows.10.Amd64.ES.VS2017.Open
timeoutInMinutes: 90
timeoutInMinutes: 120

steps:
- script: eng/cibuild.cmd -configuration Debug -prepareMachine -testDesktop
Expand Down
6 changes: 3 additions & 3 deletions docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ efforts behind them.
| [Lambda discard parameters](https://github.com/dotnet/csharplang/issues/111) | master | [Merged](https://github.com/dotnet/roslyn/issues/38820) | [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs), [chsienki](https://github.com/chsienki) | [jcouv](https://github.com/jcouv) |
| [Native ints](https://github.com/dotnet/csharplang/issues/435) | [features/NativeInt](https://github.com/dotnet/roslyn/tree/features/NativeInt) | [Merged into 16.7p1](https://github.com/dotnet/roslyn/issues/38821) | [cston](https://github.com/cston) | [333fred](https://github.com/333fred), [gafter](https://github.com/gafter) | [jaredpar](https://github.com/jaredpar) |
| [Attributes on local functions](https://github.com/dotnet/csharplang/issues/1888) | [features/local-function-attributes](https://github.com/dotnet/roslyn/tree/features/local-function-attributes) | [Merged](https://github.com/dotnet/roslyn/issues/38801) | [RikkiGibson](https://github.com/RikkiGibson) | [agocke](https://github.com/agocke) | [agocke](https://github.com/agocke) |
| [Function pointers](https://github.com/dotnet/csharplang/issues/191) | [function-pointers](https://github.com/dotnet/roslyn/tree/features/function-pointers) | [In Progress](https://github.com/dotnet/roslyn/issues/43321) | [333fred](https://github.com/333fred) | [AlekseyTs](https://github.com/AlekseyTs) | [jaredpar](https://github.com/jaredpar) |
| [Pattern matching improvements](https://github.com/dotnet/csharplang/issues/2850) | [features/patterns3](https://github.com/dotnet/roslyn/tree/features/patterns3) | [In progress](https://github.com/dotnet/roslyn/issues/41502) ([test](https://github.com/dotnet/roslyn/issues/40727)) | [gafter](https://github.com/gafter) | [RikkiGibson](https://github.com/RikkiGibson),[agocke](https://github.com/agocke) | [gafter](https://github.com/gafter) |
| [Function pointers](https://github.com/dotnet/csharplang/issues/191) | [function-pointers](https://github.com/dotnet/roslyn/tree/features/function-pointers) | [Merged into 16.7p3](https://github.com/dotnet/roslyn/issues/43321) | [333fred](https://github.com/333fred) | [AlekseyTs](https://github.com/AlekseyTs) | [jaredpar](https://github.com/jaredpar) |
| [Pattern matching improvements](https://github.com/dotnet/csharplang/issues/2850) | master | [Merged into 16.7p1](https://github.com/dotnet/roslyn/issues/40727) | [gafter](https://github.com/gafter) | [RikkiGibson](https://github.com/RikkiGibson),[agocke](https://github.com/agocke) | [gafter](https://github.com/gafter) |
| [Static lambdas](https://github.com/dotnet/csharplang/issues/275) | [features/static-lambdas](https://github.com/dotnet/roslyn/tree/features/static-lambdas) | [In progress](https://github.com/dotnet/roslyn/issues/39606) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [jcouv](https://github.com/jcouv) | [jcouv](https://github.com/jcouv) |
| [Records](https://github.com/dotnet/csharplang/issues/39) | [features/records](https://github.com/dotnet/roslyn/tree/features/records) | [In progress](https://github.com/dotnet/roslyn/issues/40726) | [agocke](https://github.com/agocke) | [gafter](https://github.com/gafter), [333fred](https://github.com/333fred) | [agocke](https://github.com/agocke) |
| [Target-typed conditional](https://github.com/dotnet/csharplang/issues/2460) | [features/target-typing](https://github.com/dotnet/roslyn/tree/features/target-typing) | [In Progress](https://github.com/dotnet/roslyn/issues/43186) | [gafter](https://github.com/gafter) | [agocke](https://github.com/agocke), [RikkiGibson](https://github.com/RikkiGibson) | [gafter](https://github.com/gafter) |
| [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) | [AlekseyTs](https://github.com/AlekseyTs), [agocke](https://github.com/agocke) | [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/dotnet/csharplang/blob/master/proposals/module-initializers.md) | [features/module-initializers](https://github.com/dotnet/roslyn/tree/features/module-initializers) | [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](https://github.com/dotnet/roslyn/issues/43795) | [RikkiGibson](https://github.com/RikkiGibson) | [chsienki](https://github.com/chsienki) | [jaredpar](https://github.com/jaredpar) |
| [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) | [Merged into 16.7p2](https://github.com/dotnet/roslyn/issues/43795) | [RikkiGibson](https://github.com/RikkiGibson) | [chsienki](https://github.com/chsienki) | [jaredpar](https://github.com/jaredpar) |
| [Top-level statements](https://github.com/dotnet/csharplang/blob/master/proposals/top-level-statements.md) | [features/SimplePrograms](https://github.com/dotnet/roslyn/tree/features/SimplePrograms) | [In-Progress](https://github.com/dotnet/roslyn/issues/43563) | [AlekseyTs](https://github.com/AlekseyTs) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | [MadsTorgersen](https://github.com/MadsTorgersen) |

# C# Next
Expand Down
11 changes: 9 additions & 2 deletions docs/analyzers/Report Analyzer Format.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Introduction
============
The C# and Visual Basic compilers support a /reportanalyzer switch on
The C# and Visual Basic compilers support a `/reportanalyzer` switch on
the command line to report additional analyzer information, such as execution time.

The output contains the total wall clock time spent in executing the analyzers and
Expand All @@ -9,6 +9,13 @@ Note that the elapsed time may be less than analyzer execution time because
analyzers can run concurrently. One should use this data only for comparative analysis to
identify any outlier analyzer which takes signinficantly more time than other analyzers.

MSBuild command
=============
Use the following msbuild command line to get the analyzer performance report:

```
msbuild.exe /v:d /p:reportanalyzer=true <%project_file%>
```

Output Format
=============
Expand Down Expand Up @@ -84,4 +91,4 @@ Time (s) % Analyzer

0.001 <1 XmlDocumentationComments.CSharp.Analyzers, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
0.001 <1 XmlDocumentationComments.Analyzers.CSharpAvoidUsingCrefTagsWithAPrefixAnalyzer
```
```
10 changes: 10 additions & 0 deletions docs/compilers/CSharp/Compiler Breaking Changes - post VS2019.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,13 @@ public class Derived : Base<string?>
}
```

19. https://github.com/dotnet/roslyn/pull/44841 In *C# 9* and onwards the language views ambiguities between the `record` identifier as being
either a type syntax or a record declaration as choosing the record declaration. The following examples will now be record declarations:

```C#
abstract class C
{
record R2() { }
abstract record R3();
}
```
6 changes: 4 additions & 2 deletions docs/compilers/Deterministic Inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ The following are considered inputs to the compiler for the purpose of determini
- Rulesets
- "additional files" that may be used by analyzers
- The current culture (for the language in which diagnostics and exception messages are produced).
- The default encoding (or the current code page) if the encoding is not specified
- The current OS code page if `/codepage` is not specified and any of the input source files do not have BOM and are not UTF-8 encoded.
- The existence, non-existence, and contents of files on the compiler's search paths (specified, e.g. by `/lib` or `/recurse`)
- The CLR platform on which the compiler is run (e.g. the result of `double` arithmetic performed for constant-folding may use excess precision on some platforms).
- The CLR platform on which the compiler is run:
- The result of `double` arithmetic performed for constant-folding may use excess precision on some platforms.
- The compiler uses Unicode tables provided by the platform.
- The version of the zlib library that the CLR uses to implement compression (when `/embed` or `/debug:embedded` is used).
- The value of `%LIBPATH%`, as it can affect analyzer dependency loading.

Expand Down
Loading