Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
573 commits
Select commit Hold shift + click to select a range
a08d6e2
Update comment
CyrusNajmabadi Nov 24, 2021
19d3159
Merge pull request #57962 from dotnet/features/list-patterns
jcouv Nov 24, 2021
86e2f0c
Use range in more places
CyrusNajmabadi Nov 24, 2021
e3345c2
More ranges
CyrusNajmabadi Nov 24, 2021
eebafc1
Simplify
CyrusNajmabadi Nov 24, 2021
2fba4e8
Simplify
CyrusNajmabadi Nov 24, 2021
3601c89
Extract helper
CyrusNajmabadi Nov 24, 2021
b69fe49
Simplify further
CyrusNajmabadi Nov 24, 2021
5f9c0e9
Move code back
CyrusNajmabadi Nov 24, 2021
c8546d8
Clarify data
CyrusNajmabadi Nov 24, 2021
256f427
Update src/Compilers/CSharp/Portable/Parser/LanguageParser_Interpolat…
CyrusNajmabadi Nov 24, 2021
84c3c6d
Simplify
CyrusNajmabadi Nov 24, 2021
a9f28f7
Merge branch 'simplifyInterpolationPArsing4' of https://github.com/Cy…
CyrusNajmabadi Nov 24, 2021
e13b22b
Revert
CyrusNajmabadi Nov 24, 2021
b5a6079
Exclude unnecessary sqlite assemblies
genlu Nov 24, 2021
731cf8c
Update OneOffInsertion.ps1 file path
allisonchou Nov 25, 2021
dac98b9
Merge pull request #57985 from dotnet/dev/allichou/UpdateOneOffInsert…
JoeRobich Nov 25, 2021
a273101
Simplify creation of interpolation text tokens.
CyrusNajmabadi Nov 25, 2021
a18f58f
Expose data from helepr method
CyrusNajmabadi Nov 25, 2021
c72884b
Fix tests
CyrusNajmabadi Nov 25, 2021
41dabb6
Switch to a kind flag to control behavior
CyrusNajmabadi Nov 25, 2021
e109c2d
Fix tests
CyrusNajmabadi Nov 25, 2021
e3753e3
emit an error for not allowed characters
bernd5 Nov 28, 2021
3ee84e2
Merge branch 'main' into fix_CurlyBraceAndInterpolatedString
bernd5 Nov 28, 2021
321d98b
fixed loop
bernd5 Nov 28, 2021
414377c
tests added
bernd5 Nov 28, 2021
b826163
handle illegal escaped chars
bernd5 Nov 28, 2021
7b81f9c
missing AdvanceChar
bernd5 Nov 28, 2021
012b2c9
Update docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md
CyrusNajmabadi Nov 29, 2021
c06e87d
Add IDE tests
CyrusNajmabadi Nov 29, 2021
ce69a5c
Convert namespace to file scoped when typing semicolon
CyrusNajmabadi Nov 29, 2021
d2b7692
Working on tests
CyrusNajmabadi Nov 29, 2021
5e8d11c
Add tests
CyrusNajmabadi Nov 29, 2021
2eebe11
Add comments
CyrusNajmabadi Nov 29, 2021
856f804
Add comments
CyrusNajmabadi Nov 29, 2021
cee1445
Revert
CyrusNajmabadi Nov 29, 2021
c6d6da4
Revert
CyrusNajmabadi Nov 29, 2021
b336159
Make static
CyrusNajmabadi Nov 29, 2021
4d8f8ab
Add tests
CyrusNajmabadi Nov 29, 2021
ec69684
allow ':' and '"' even if they are disallowed by the spec
bernd5 Nov 29, 2021
fb59e0f
Merge remote-tracking branch 'bernd5/fix_CurlyBraceAndInterpolatedStr…
bernd5 Nov 29, 2021
72668cb
allow ':' and '"' even if they are disallowed by the spec
bernd5 Nov 29, 2021
86b132c
Update Compiler Breaking Changes - DotNet 7.md
bernd5 Nov 29, 2021
72c8ba2
Update dependencies from https://github.com/dotnet/roslyn build 20211…
dotnet-maestro[bot] Nov 29, 2021
28af8d4
text removed
bernd5 Nov 29, 2021
5d3ce1f
Merge branch 'fix_CurlyBraceAndInterpolatedString' of https://github.…
bernd5 Nov 29, 2021
0a916b4
Fix warning
CyrusNajmabadi Nov 29, 2021
5a95e70
Merge branch 'fix_CurlyBraceAndInterpolatedString' of https://github.…
CyrusNajmabadi Nov 29, 2021
db5cebe
Merge pull request #57951 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 29, 2021
3f61fde
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 29, 2021
f92bd7d
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 29, 2021
6847b2a
Fix comment
CyrusNajmabadi Nov 29, 2021
2fbf743
Fix assert
CyrusNajmabadi Nov 29, 2021
bb55d90
Only one check needed
CyrusNajmabadi Nov 29, 2021
b871419
Ensure we cache the previous item when two items are considered equal…
chsienki Nov 29, 2021
982e4f5
Merge remote-tracking branch 'origin/main' into fix_CurlyBraceAndInte…
bernd5 Nov 29, 2021
cf8b6e0
Merge branch 'fix_CurlyBraceAndInterpolatedString' of https://github.…
bernd5 Nov 29, 2021
b58d49e
Merge pull request #57988 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 29, 2021
5d19969
nullable warnings fixed
bernd5 Nov 29, 2021
233ef83
Move Default VB Version to 16.9 (#57688)
333fred Nov 29, 2021
21055e1
Require definite assignment of all fields if struct includes any fiel…
cston Nov 29, 2021
f52d6dc
Update to DiffPlex 1.5.0
sharwell Nov 29, 2021
812ebb1
Add Roslyn.VisualStudio.Setup as a build dependency for integration t…
sharwell Nov 29, 2021
f97a467
Ensure determinism if we have the exact same version in multiple places
jasonmalinowski Nov 29, 2021
6c7ba46
Add comment explaining why we have try/catch
jasonmalinowski Nov 29, 2021
f29b5e8
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 30, 2021
7d1a492
Add named arg
CyrusNajmabadi Nov 30, 2021
cb65c80
Fix comments
CyrusNajmabadi Nov 30, 2021
6aa3732
[LSP] Switch to exclusively using semantic tokens range handling (#57…
allisonchou Nov 30, 2021
45e8b75
Merge pull request #57946 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Nov 30, 2021
3f6fd30
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 30, 2021
f0ba8a5
Reorder
CyrusNajmabadi Nov 30, 2021
e9db5d6
Merge branch 'simplifyInterpolationPArsing4' into simplifyInterpolati…
CyrusNajmabadi Nov 30, 2021
e302aa0
Add missing test for CallerArgumentExpression (#57805)
333fred Nov 30, 2021
0bdc853
Merge pull request #56432 from jasonmalinowski/allow-loading-of-highe…
jasonmalinowski Nov 30, 2021
2df14d4
Simplify 'interpolation' data, and move to an easier to consume Syste…
CyrusNajmabadi Nov 30, 2021
fcaa7eb
Merge remote-tracking branch 'origin/main' into fix_CurlyBraceAndInte…
bernd5 Nov 30, 2021
ebb6813
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Nov 30, 2021
5aa5247
Enable nullable reference types for TableDataSource
sharwell Nov 23, 2021
51112ed
Pass AnalysisKind instead of int
sharwell Nov 29, 2021
03f6adf
Hold Receiver directly in bound node for implicit indexer access (#58…
AlekseyTs Nov 30, 2021
76fcdfd
Merge pull request #58018 from sharwell/deploy-for-test
sharwell Nov 30, 2021
68c796b
Fix typo in XML doc for GeneratorExtensions (#58020)
GitHubPang Nov 30, 2021
f068f44
Mark EqualityContract property accessor as not auto-implemented (#57917)
Youssef1313 Nov 30, 2021
233618d
Log runtime framework of remote host
genlu Nov 30, 2021
31c7de2
Merge pull request #58031 from sharwell/tabledatasource
sharwell Nov 30, 2021
7577c07
Skip TestLargeStringConcatenation (#58035)
allisonchou Nov 30, 2021
c4b2c21
Merge remote-tracking branch 'upstream/main' into convertNamespaceSem…
CyrusNajmabadi Nov 30, 2021
eb6934a
Honor option, and also improve formatting with comment
CyrusNajmabadi Nov 30, 2021
81ed168
Fix comment
CyrusNajmabadi Nov 30, 2021
bff627e
Add tests
CyrusNajmabadi Nov 30, 2021
c9685f4
Fix await completion for expression body lambda
genlu Nov 30, 2021
18f3bc3
Merge pull request #58038 from genlu/RemoteHostFramework
genlu Dec 1, 2021
7f8fea9
Merge pull request #58016 from sharwell/update-diffplex
sharwell Dec 1, 2021
8f19149
Add new parser/lexer to the StackTraceAnalyzer (#57598)
Dec 1, 2021
c0d6afc
Fix VisualStudioActiveDocumentTracker to handle frames without text b…
mavasani Dec 1, 2021
bc0cccf
Add comments
mavasani Dec 1, 2021
a575591
Shorten paths in VS installation (#57726)
davidwengier Dec 1, 2021
19d0b05
Merge pull request #58052 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 1, 2021
24a1d4b
Merge pull request #56959 from mavasani/AsyncLightBulb_LowPri
mavasani Dec 1, 2021
aeff023
Make it possible to analyze the dataflow of `ConstructorInitializerSy…
bernd5 Dec 1, 2021
b3d9ef6
Snap 17.1 P2 (#58041)
allisonchou Dec 1, 2021
ddcea80
Compute kind on demand
CyrusNajmabadi Dec 1, 2021
2749215
Simplify code
CyrusNajmabadi Dec 1, 2021
a801e65
Merge pull request #58003 from CyrusNajmabadi/convertNamespaceSemicolon
CyrusNajmabadi Dec 1, 2021
0ce9a49
Add new parser/lexer to the StackTraceAnalyzer (#57598) (#58050)
Dec 1, 2021
f17419c
Read SourceLink info and call service to retrieve source from there (…
davidwengier Dec 1, 2021
124f193
Merge pull request #58017 from sharwell/analysis-kind
sharwell Dec 1, 2021
b7dc1f2
Revert
CyrusNajmabadi Dec 1, 2021
c4512d5
Merge pull request #57953 from dotnet/dev/jorobich/dartlab
JoeRobich Dec 1, 2021
fef3422
Remove unused function
CyrusNajmabadi Dec 1, 2021
d8b1284
Use actual jump tables
CyrusNajmabadi Dec 1, 2021
625e9ee
Add comment
CyrusNajmabadi Dec 1, 2021
7fbc3fc
Merge pull request #57977 from genlu/CoreLayout
JoeRobich Dec 1, 2021
883a2c5
move Language enum further down the stack
jmarolf Dec 1, 2021
6457226
Change comment
CyrusNajmabadi Dec 1, 2021
8b71240
Merge pull request #58042 from genlu/AwaitCompletionFix
genlu Dec 2, 2021
a65c69d
Don't MEF import the implementation directly if the public type will do
jasonmalinowski Dec 1, 2021
ed3b50b
Ensure we don't silently capture any exceptions
jasonmalinowski Nov 30, 2021
011ad67
Fix indenting
jasonmalinowski Nov 30, 2021
83cd24c
Fix analyzer references being removed and added in one batch
jasonmalinowski Nov 30, 2021
359f24a
Fix some places we weren't correctly disposing of VisualStudioAnalyzers
jasonmalinowski Nov 30, 2021
8a92d8a
Merge pull request #58061 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 2, 2021
967883d
Add comment
mavasani Dec 2, 2021
d77a8f8
implement naming styles option parser with text span support
jmarolf Dec 1, 2021
a7e051a
add folder description
jmarolf Dec 2, 2021
5e5cbc8
Add namging style option support
jmarolf Dec 2, 2021
682a9df
add folder description
jmarolf Dec 2, 2021
a773abe
Add views for naming styles
jmarolf Dec 2, 2021
48f54b4
Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Nami…
jmarolf Dec 2, 2021
1886364
Update src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Edit…
jmarolf Dec 2, 2021
49088b0
Update src/EditorFeatures/Core/EditorConfigSettings/Updater/NamingSty…
jmarolf Dec 2, 2021
da90d81
Update src/EditorFeatures/Core/EditorConfigSettings/Updater/NamingSty…
jmarolf Dec 2, 2021
6493157
Merge pull request #48245 from Youssef1313/patch-42
sharwell Dec 2, 2021
3a28801
lengthen the search box to align with the tabs above it
jmarolf Dec 2, 2021
cbce098
enable nullable on test files
jmarolf Dec 2, 2021
525cb16
de-duplicate local functions
jmarolf Dec 2, 2021
03da9e5
simplify boolean logic
jmarolf Dec 2, 2021
98006e6
use resource strings in tests
jmarolf Dec 2, 2021
b53f7d1
return immutable array for static severities
jmarolf Dec 2, 2021
f83d3ec
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Dec 3, 2021
05b7f37
Respond to changes in project context to support w/out navbar and mul…
dibarbet Dec 3, 2021
0b2c30d
Merge pull request #58100 from dotnet/dev/jorobich/skip-test
JoeRobich Dec 3, 2021
74e9ca0
update readme with a relative path link
jmarolf Dec 2, 2021
761eb1e
using TryPeekNext
jmarolf Dec 3, 2021
ba7bdb3
using disposeable pooled objects
jmarolf Dec 3, 2021
2c9fed1
renamge rangeOpt to numberRange
jmarolf Dec 3, 2021
a70dcf9
Add scripts to verify if a branch is ready to review
jmarolf Dec 4, 2021
5d5b3a3
Merge pull request #58024 from jasonmalinowski/fix-removal-and-additi…
jasonmalinowski Dec 4, 2021
358d4ae
Standardize list pattern lowering on `Index` constructor. (#58055)
AlekseyTs Dec 4, 2021
a321b78
Merge remote-tracking branch 'upstream/main' into simplifyInterpolati…
CyrusNajmabadi Dec 4, 2021
b5d359b
Merge pull request #57751 from bernd5/fix_CurlyBraceAndInterpolatedSt…
CyrusNajmabadi Dec 4, 2021
6c4f403
Merge pull request #57989 from CyrusNajmabadi/simplifyInterpolationPA…
CyrusNajmabadi Dec 4, 2021
1741824
Factor nullability logic for placeholders (#58036)
jcouv Dec 4, 2021
4c6f26f
[main] Update dependencies from dotnet/arcade (#57968)
dotnet-maestro[bot] Dec 4, 2021
04dda9f
Merge pull request #58110 from jmarolf/infrastructure/verify-ready-fo…
jmarolf Dec 4, 2021
fc56125
[main] Update dependencies from dotnet/source-build (#57707)
dotnet-maestro[bot] Dec 5, 2021
a3a6230
Lazy load ISourceLinkService to reduce DLL loads (#58108)
Dec 6, 2021
9e7e577
Merge pull request #58125 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 6, 2021
264eefb
fix Span and Section being swapped from the base
jmarolf Dec 6, 2021
68e9e14
Run builds with $TempDir redirected to a new drive
sharwell Dec 6, 2021
37be5d5
Remove placeholder .editorconfig from CI testing
sharwell Dec 6, 2021
b2ca734
update incorrect comment
jmarolf Dec 6, 2021
a321a3f
Combine Lex with static function
jmarolf Dec 6, 2021
132f6b0
return false if we fail to determine the language for a path
jmarolf Dec 6, 2021
cb5cfc0
use Lazy instead of fancy InterlockedInitialize
jmarolf Dec 6, 2021
46d64bd
Update publishdata.json to point to correct VS branch
dibarbet Dec 6, 2021
b78ac32
Use non-draft PRs for main-vs-deps
dibarbet Dec 6, 2021
0b07966
Skip correct TestLargeStringConcatenation test (#58058)
allisonchou Dec 6, 2021
afb8648
Merge pull request #58105 from sharwell/subst-tmp
sharwell Dec 7, 2021
0d68a4b
Report a level 7 warning for lower-cased type names (#56905)
jcouv Dec 7, 2021
86ef543
move search bar up by 12 pixels
jmarolf Dec 7, 2021
95809b0
Incremental Generator Work Tracking API Implementation (#55469)
jkoritzinsky Dec 7, 2021
51113bf
Update Microsoft.CodeAnalysis.Analyzers to 3.3.3
Youssef1313 Dec 7, 2021
00c1668
Disable RS1034
Youssef1313 Dec 7, 2021
9666b7d
Update Roslyn.Diagnostics.Analyzers to latest stable
Youssef1313 Dec 7, 2021
8322567
Adjust doc comment for `SyntaxFactory.ParseTokens` API (#58064)
AlekseyTs Dec 7, 2021
8bf87bc
Revert Roslyn.Diagnostics.Analyzers back
Youssef1313 Dec 7, 2021
1a709f3
Simplify lazy initialization in RazorDocumentServiceProviderWrapper
sharwell Dec 1, 2021
2a9610b
Implement overloads of LazyInitialization.EnsureInitialized which sup…
sharwell Dec 7, 2021
032a9be
Merge pull request #58075 from jmarolf/features/editorconfig-naming-s…
jmarolf Dec 7, 2021
6d4f1fe
Merge pull request #58142 from dotnet/dibarbet-update-17-1
JoeRobich Dec 7, 2021
e1f564b
Add test demonstrating issue does not repro.
CyrusNajmabadi Dec 7, 2021
7d8d747
Update src/Analyzers/CSharp/CodeFixes/RemoveUnnecessaryCast/CSharpRem…
CyrusNajmabadi Dec 7, 2021
e50c1b2
Update src/VisualStudio/Core/Impl/Options/Style/NamingPreferences/Sym…
CyrusNajmabadi Dec 7, 2021
372e451
Use `ldlen` to get array's Length during pattern-matching. (#58114)
AlekseyTs Dec 7, 2021
4bd2f9d
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
6cbab8d
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
cd62593
Merge branch 'addTest' of https://github.com/CyrusNajmabadi/roslyn in…
CyrusNajmabadi Dec 7, 2021
ca7bdca
Merge pull request #58166 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 7, 2021
c8bc47e
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
fa6c123
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
2390dc0
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
fab5d95
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
cd985d6
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
70816f4
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
9d335cd
Add missing delegate casts (#58170)
tmat Dec 7, 2021
ecf8e26
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
da13214
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
e471642
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
c1d0793
Add additional test for another bug report
CyrusNajmabadi Dec 7, 2021
d8ddf75
Add additional test for another bug report
CyrusNajmabadi Dec 8, 2021
ab10622
Merge pull request #58178 from CyrusNajmabadi/addTest
CyrusNajmabadi Dec 8, 2021
a6e159b
Add regex parser tests
CyrusNajmabadi Dec 8, 2021
ec459b7
Address feedback
Youssef1313 Dec 8, 2021
d522c8e
Merge pull request #58184 from CyrusNajmabadi/addRegexTests
CyrusNajmabadi Dec 8, 2021
bbe3d03
BoundDecisionDag.Rewrite - Avoid capturing the replacement map (#58137)
alrz Dec 8, 2021
0a0c7b9
Clarify use of null as an initialized value
sharwell Dec 8, 2021
e91fd74
Fix generator caching in compiler server (#57177)
chsienki Dec 9, 2021
0615a77
Merge pull request #58063 from sharwell/lazy-init
sharwell Dec 9, 2021
f473056
OmniSharp options (#58208)
tmat Dec 9, 2021
9f82509
Merge pull request #58195 from dibarbet/lsp_proj_context
dibarbet Dec 9, 2021
2ee4427
Avoid calculating inferred delegate type unnecessarily in conversions…
cston Dec 9, 2021
39e010e
Merge pull request #58154 from Youssef1313/patch-24
sharwell Dec 9, 2021
9f03216
Remove usage of weak-value-source for smart-open-scope references
CyrusNajmabadi Dec 9, 2021
f49697a
Update several ExpressionCompiler unit tests for inferred delegate ty…
cston Dec 9, 2021
f619079
Merge pull request #58049 from mavasani/ActiveDocTracker
mavasani Dec 9, 2021
a91348e
Update localized branch to release/dev17.1-vs-deps
JoeRobich Dec 9, 2021
76610d0
Merge pull request #58230 from dotnet/dev/jorobich/update-loc-branch
JoeRobich Dec 9, 2021
3b04e0b
Avoid loading analyzers during unload
jasonmalinowski Dec 10, 2021
5fb30c7
Make required
CyrusNajmabadi Dec 10, 2021
bea10ea
Merge pull request #58212 from CyrusNajmabadi/removeWeakValueSOurces
CyrusNajmabadi Dec 10, 2021
20506fa
Merge pull request #58240 from jasonmalinowski/fix-perf-regression
jasonmalinowski Dec 10, 2021
2622f72
Move away from a nested tree structure for alternating sequences in r…
CyrusNajmabadi Dec 10, 2021
709d483
NullableWalker - properly handle BoundNoPiaObjectCreationExpression (…
AlekseyTs Dec 10, 2021
1b1411c
Add real world tests
CyrusNajmabadi Dec 10, 2021
3eb8d3f
Revert "OmniSharp options (#58208)"
tmat Dec 10, 2021
1379939
NRT
CyrusNajmabadi Dec 10, 2021
f2c1d64
Find unit test assemblies whose names differ from the project directo…
RikkiGibson Dec 10, 2021
31d3e34
Merge pull request #57586 from jmarolf/infra/use-pair-wise-on-test-legs
jmarolf Dec 10, 2021
3b3b20f
Merge pull request #58253 from dotnet/revert-58208-OmniSharpOptions
jasonmalinowski Dec 11, 2021
ececd39
Merge pull request #58231 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 11, 2021
e0c73d5
Clarify condition
CyrusNajmabadi Dec 11, 2021
c900380
SPelling
CyrusNajmabadi Dec 11, 2021
f242cbe
NRT
CyrusNajmabadi Dec 11, 2021
34abe94
Simplify
CyrusNajmabadi Dec 11, 2021
63ce612
Include any class with methods with attributes in RunTests (#58259)
RikkiGibson Dec 11, 2021
a678c2c
Ensure we get no errors on any of these inputs
CyrusNajmabadi Dec 11, 2021
19034fd
Add assert
CyrusNajmabadi Dec 11, 2021
e3154ba
[main] Update dependencies from dotnet/arcade (#58158)
dotnet-maestro[bot] Dec 11, 2021
c1f84ac
Update instructions for building runtime repo (#58172)
jcouv Dec 12, 2021
3655252
Move to MemberData
CyrusNajmabadi Dec 13, 2021
2e05e6a
Add tests
CyrusNajmabadi Dec 13, 2021
148f9e0
Merge pull request #58254 from CyrusNajmabadi/regexStack
CyrusNajmabadi Dec 13, 2021
45d1605
[main] Update dependencies from dotnet/roslyn (#58128)
dotnet-maestro[bot] Dec 13, 2021
e168ec1
Update PerfView instructions to omit NETTasks
sharwell Dec 13, 2021
a6e3fc6
Update PerfView download link
sharwell Dec 13, 2021
f36574c
Add and implement `IImplicitIndexerReferenceOperation` (#58200)
AlekseyTs Dec 13, 2021
506fc4d
Merge pull request #58301 from sharwell/update-recording
sharwell Dec 13, 2021
96698d9
Merge remote-tracking branch 'upstream/main' into merges/main-to-feat…
RikkiGibson Dec 13, 2021
File filter

Filter by extension

Filter by extension


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

trigger: none # Manual trigger for now

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

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

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

jobs:
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/release/dev17.0-vs-deps') }}:
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/release/dev17.1-vs-deps') }}:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
MirrorRepo: roslyn
MirrorBranch: release/dev17.0-vs-deps
MirrorBranch: release/dev17.1-vs-deps
LclSource: lclFilesfromPackage
LclPackageId: 'LCL-JUNO-PROD-ROSLYN'

Expand Down
78 changes: 41 additions & 37 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ jobs:
configuration: Release
queueName: Build.Windows.Amd64.VS2022.Pre.Open

- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Debug 32'
jobName: Test_Windows_Desktop_Debug_32
buildJobName: Build_Windows_Debug
testArtifactName: Transport_Artifacts_Windows_Debug
configuration: Debug
testArguments: -testDesktop -test32
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Debug 32'
jobName: Test_Windows_Desktop_Debug_32
buildJobName: Build_Windows_Debug
testArtifactName: Transport_Artifacts_Windows_Debug
configuration: Debug
testArguments: -testDesktop -test32

- template: eng/pipelines/test-windows-job.yml
parameters:
Expand All @@ -57,14 +58,15 @@ jobs:
configuration: Debug
testArguments: -testCoreClr

- template: eng/pipelines/test-windows-job-single-machine.yml
parameters:
testRunName: 'Test Windows CoreClr Debug Single Machine'
jobName: Test_Windows_CoreClr_Debug_Single_Machine
buildJobName: Build_Windows_Debug
testArtifactName: Transport_Artifacts_Windows_Debug
configuration: Debug
testArguments: -testCoreClr
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: eng/pipelines/test-windows-job-single-machine.yml
parameters:
testRunName: 'Test Windows CoreClr Debug Single Machine'
jobName: Test_Windows_CoreClr_Debug_Single_Machine
buildJobName: Build_Windows_Debug
testArtifactName: Transport_Artifacts_Windows_Debug
configuration: Debug
testArguments: -testCoreClr

- template: eng/pipelines/test-windows-job.yml
parameters:
Expand All @@ -77,21 +79,22 @@ jobs:

- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Spanish Release 32'
jobName: Test_Windows_Desktop_Spanish_Release_32
testRunName: 'Test Windows Desktop Spanish Release 64'
jobName: Test_Windows_Desktop_Spanish_Release_64
buildJobName: Build_Windows_Release
testArtifactName: Transport_Artifacts_Windows_Release
configuration: Release
testArguments: -testDesktop -test32 -helixQueueName Windows.10.Amd64.Server19H1.ES.Open

- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Release 64'
jobName: Test_Windows_Desktop_Release_64
buildJobName: Build_Windows_Release
testArtifactName: Transport_Artifacts_Windows_Release
configuration: Release
testArguments: -testDesktop -test64
testArguments: -testDesktop -test64 -helixQueueName Windows.10.Amd64.Server19H1.ES.Open

- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: eng/pipelines/test-windows-job.yml
parameters:
testRunName: 'Test Windows Desktop Release 64'
jobName: Test_Windows_Desktop_Release_64
buildJobName: Build_Windows_Release
testArtifactName: Transport_Artifacts_Windows_Release
configuration: Release
testArguments: -testDesktop -test64

- template: eng/pipelines/test-windows-job.yml
parameters:
Expand Down Expand Up @@ -128,15 +131,16 @@ jobs:
configuration: Debug
testArguments: --testCoreClr --helixQueueName Ubuntu.1804.Amd64.Open

- template: eng/pipelines/test-unix-job-single-machine.yml
parameters:
testRunName: 'Test Linux Debug Single Machine'
jobName: Test_Linux_Debug_Single_Machine
buildJobName: Build_Unix_Debug
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
testArguments: --testCoreClr
queueName: 'Build.Ubuntu.1804.amd64.Open'
- ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
- template: eng/pipelines/test-unix-job-single-machine.yml
parameters:
testRunName: 'Test Linux Debug Single Machine'
jobName: Test_Linux_Debug_Single_Machine
buildJobName: Build_Unix_Debug
testArtifactName: Transport_Artifacts_Unix_Debug
configuration: Debug
testArguments: --testCoreClr
queueName: 'Build.Ubuntu.1804.amd64.Open'

- template: eng/pipelines/test-unix-job.yml
parameters:
Expand Down
23 changes: 22 additions & 1 deletion docs/compilers/CSharp/Compiler Breaking Changes - DotNet 7.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
}
```


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

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

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

```csharp
void M(int[] i)
{
if (i is { Length: -1 }) {} // error: impossible under assumption of non-negative length
}
```

5. Starting with Visual Studio 17.1, format specifiers in interpolated strings can not contain curly braces (either `{` or `}`). In previous versions `{{` was interpreted as an escaped `{` and `}}` was interpreted as an escaped `}` char in the format specifier. Now the first `}` char in a format specifier ends the interpolation, and any `{` char is an error.
https://github.com/dotnet/roslyn/issues/5775

```csharp
using System;

Console.WriteLine($"{{{12:X}}}");

//prints now: "{C}" - not "{X}}"
```
1 change: 1 addition & 0 deletions docs/compilers/CSharp/Warnversion Warning Waves.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ The table below describes all of the warnings controlled by warning levels `5` o
| CS8892 | 5 | [Multiple entry points](https://github.com/dotnet/roslyn/issues/46831) |
| CS8897 | 5 | [Static class used as the parameter type of a method in an interface type](https://github.com/dotnet/roslyn/issues/38256) |
| CS8898 | 5 | [Static class used as the return type of a method in an interface type](https://github.com/dotnet/roslyn/issues/38256) |
| CS8981 | 7 | [Type names only containing lower-cased ascii characters may become reserved for the language](https://github.com/dotnet/roslyn/issues/56653) |
24 changes: 12 additions & 12 deletions docs/contributing/Building, Debugging, and Testing on Unix.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Building, Debugging and Testing on Unix
This guide is meant to help developers setup an environment for debugging / contributing to Roslyn from Linux.
Particularly for developers who aren't experienced with .NET Core development on Linux.
This guide is meant to help developers setup an environment for debugging / contributing to Roslyn from Linux.
Particularly for developers who aren't experienced with .NET Core development on Linux.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

- clang
- lldb
- lldb
- cmake
- xrdp
Loading