Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
1568fa9
Add with(...) nullable tests
CyrusNajmabadi Jan 8, 2026
d2ad15c
Revert
CyrusNajmabadi Jan 8, 2026
583c748
Add tests
CyrusNajmabadi Jan 8, 2026
f95f305
Add inference tests
CyrusNajmabadi Jan 8, 2026
3a4cf38
Add inference tests
CyrusNajmabadi Jan 8, 2026
6c8fb67
Update tssts
CyrusNajmabadi Jan 8, 2026
02ddfe2
prototype
CyrusNajmabadi Jan 8, 2026
8f41c7c
Merge branch 'features/collection-expression-arguments' into collecti…
CyrusNajmabadi Jan 10, 2026
5cfa3df
Fix tests
CyrusNajmabadi Jan 10, 2026
3f94372
Add attribute tests
CyrusNajmabadi Jan 10, 2026
3b2a7e2
add some attribute tests
CyrusNajmabadi Jan 10, 2026
949d273
Include nullaiblity info
CyrusNajmabadi Jan 10, 2026
f05d9e4
Validate type
CyrusNajmabadi Jan 10, 2026
4325503
Validate return type
CyrusNajmabadi Jan 10, 2026
71f7065
Add accessibiility tests
CyrusNajmabadi Jan 10, 2026
0ad9f6c
Add file test
CyrusNajmabadi Jan 10, 2026
242a502
Add dynamic tests
CyrusNajmabadi Jan 10, 2026
667fa65
Ref readonly test
CyrusNajmabadi Jan 10, 2026
e20abf5
arglist
CyrusNajmabadi Jan 10, 2026
54dd69c
Add interpolated string support
CyrusNajmabadi Jan 10, 2026
e83f423
Add orpa test
CyrusNajmabadi Jan 10, 2026
04dcc51
Support GetMemberGroup for collection builder with elements
CyrusNajmabadi Jan 10, 2026
a88a6a0
update tests
CyrusNajmabadi Jan 10, 2026
1782f60
Merge branch 'features/collection-expression-arguments' into collecti…
CyrusNajmabadi Jan 11, 2026
7688e8b
Add tests
CyrusNajmabadi Jan 11, 2026
35c14e7
Fixup
CyrusNajmabadi Jan 11, 2026
48c18d4
Add unscopedref tests
CyrusNajmabadi Jan 11, 2026
ba2078a
Add file local test with file arg type
CyrusNajmabadi Jan 11, 2026
ae535b3
Add file local test with file arg type
CyrusNajmabadi Jan 11, 2026
d6f9b61
Update test
CyrusNajmabadi Jan 11, 2026
8e5f75d
Add required feature test
CyrusNajmabadi Jan 11, 2026
e1f5951
Add tests
CyrusNajmabadi Jan 12, 2026
603f294
Add speculativesymbolfino tests
CyrusNajmabadi Jan 12, 2026
c76a0a2
Add goto def tests
CyrusNajmabadi Jan 12, 2026
faa4c07
Adding quick info tests
CyrusNajmabadi Jan 12, 2026
02303c5
Add classification test
CyrusNajmabadi Jan 12, 2026
30fd86e
Add prototype
CyrusNajmabadi Jan 12, 2026
f0fbade
Hit objectcreation case for nullability checking
CyrusNajmabadi Jan 12, 2026
c8c45c7
COmments
CyrusNajmabadi Jan 12, 2026
72ef004
Add call case
CyrusNajmabadi Jan 12, 2026
206959c
Update tests
CyrusNajmabadi Jan 12, 2026
78ffb8b
only construct generics
CyrusNajmabadi Jan 12, 2026
a62a69b
Add tests
CyrusNajmabadi Jan 12, 2026
e9ee676
Add tests
CyrusNajmabadi Jan 12, 2026
ade1404
Add tests
CyrusNajmabadi Jan 12, 2026
e29219c
Remove
CyrusNajmabadi Jan 12, 2026
a768f8c
Add tests
CyrusNajmabadi Jan 12, 2026
2f4e605
Add tests
CyrusNajmabadi Jan 12, 2026
f39e690
Remove
CyrusNajmabadi Jan 12, 2026
feb73b4
add new internal test
CyrusNajmabadi Jan 13, 2026
e5fe849
Move tests
CyrusNajmabadi Jan 13, 2026
f927ce5
Add protected test
CyrusNajmabadi Jan 13, 2026
8da2789
Add output validation
CyrusNajmabadi Jan 13, 2026
a8b80d9
Add ambiguous tests
CyrusNajmabadi Jan 13, 2026
46a2d6e
add expected output
CyrusNajmabadi Jan 13, 2026
6023732
add expected output
CyrusNajmabadi Jan 13, 2026
385bb79
Merge branch 'collectionExprArgTests' into collectionExprNullable
CyrusNajmabadi Jan 13, 2026
cf4229c
Add docs
CyrusNajmabadi Jan 13, 2026
9900b1b
Add docs
CyrusNajmabadi Jan 13, 2026
3d2df3d
in progress
CyrusNajmabadi Jan 13, 2026
d798440
Don't placce the placeholder directly in the bound node
CyrusNajmabadi Jan 13, 2026
0785f72
Tweak assert
CyrusNajmabadi Jan 13, 2026
3d72f37
move
CyrusNajmabadi Jan 13, 2026
1a1ddb4
Update doc
CyrusNajmabadi Jan 13, 2026
a5eed3a
revert
CyrusNajmabadi Jan 13, 2026
77d106b
Fix test
CyrusNajmabadi Jan 13, 2026
5072d2b
Add test
CyrusNajmabadi Jan 13, 2026
5060769
Fix test
CyrusNajmabadi Jan 13, 2026
96b1d65
Add test
CyrusNajmabadi Jan 13, 2026
90e3dfc
Merge branch 'collectionExprArgTests' into collectionExprNullable
CyrusNajmabadi Jan 13, 2026
1da038d
Merge remote-tracking branch 'upstream/features/collection-expression…
CyrusNajmabadi Jan 13, 2026
e81ded6
Remove prototype comment
CyrusNajmabadi Jan 13, 2026
19921a9
In progress
CyrusNajmabadi Jan 13, 2026
6b52370
Simplify
CyrusNajmabadi Jan 13, 2026
f754523
in progress
CyrusNajmabadi Jan 13, 2026
4c4fafc
Update
CyrusNajmabadi Jan 13, 2026
6316b39
Simplify
CyrusNajmabadi Jan 13, 2026
2a9c8fb
Add field back in
CyrusNajmabadi Jan 13, 2026
bcb3a57
Simplify
CyrusNajmabadi Jan 13, 2026
4b0fcca
Add more tests
CyrusNajmabadi Jan 13, 2026
53bea2a
Add tests
CyrusNajmabadi Jan 14, 2026
245a009
Add helper
CyrusNajmabadi Jan 14, 2026
851d114
Add test
CyrusNajmabadi Jan 14, 2026
d07343a
Update
CyrusNajmabadi Jan 14, 2026
ac6e57e
move
CyrusNajmabadi Jan 14, 2026
62e725f
In progresS
CyrusNajmabadi Jan 14, 2026
ee48b0c
In progresS
CyrusNajmabadi Jan 14, 2026
c36ba92
In progresS
CyrusNajmabadi Jan 14, 2026
b7c6558
In progresS
CyrusNajmabadi Jan 14, 2026
3e7d53e
In progresS
CyrusNajmabadi Jan 14, 2026
b6989bd
In progresS
CyrusNajmabadi Jan 14, 2026
663c764
In progresS
CyrusNajmabadi Jan 14, 2026
b626e48
in progress
CyrusNajmabadi Jan 14, 2026
6bb53e8
in progress
CyrusNajmabadi Jan 14, 2026
8ca188b
in progress
CyrusNajmabadi Jan 14, 2026
9e63381
Done
CyrusNajmabadi Jan 14, 2026
956f618
Simplify nullable walking
CyrusNajmabadi Jan 14, 2026
a072802
Add async/await test
CyrusNajmabadi Jan 14, 2026
4f635b7
Fix
CyrusNajmabadi Jan 14, 2026
9b6771c
Add tests
CyrusNajmabadi Jan 14, 2026
0f077d0
Fix comments
CyrusNajmabadi Jan 14, 2026
56c57d6
Casing
CyrusNajmabadi Jan 15, 2026
48cd9ad
Unify asserts
CyrusNajmabadi Jan 15, 2026
c2c780c
Improve il output
CyrusNajmabadi Jan 15, 2026
ad633c1
Async il
CyrusNajmabadi Jan 15, 2026
186a431
Add test
CyrusNajmabadi Jan 15, 2026
3aba20f
Add DoesNotReturnIf tests
CyrusNajmabadi Jan 15, 2026
10beb60
Add DoesNotReturn tests
CyrusNajmabadi Jan 15, 2026
8f04bcb
Add MemberNotNull test
CyrusNajmabadi Jan 15, 2026
47e0d74
Merge branch 'collectionExprNullable' into nullableSimplification
CyrusNajmabadi Jan 15, 2026
f5bf101
Renumber error codes
CyrusNajmabadi Jan 15, 2026
98ef813
Break pattern
CyrusNajmabadi Jan 15, 2026
fcfc360
Add workitem
CyrusNajmabadi Jan 15, 2026
b794c88
Update loc string
CyrusNajmabadi Jan 15, 2026
8e15bef
Merge branch 'features/collection-expression-arguments' into nullable…
CyrusNajmabadi Jan 15, 2026
f96fb48
Add GetSymbolInfo tests
CyrusNajmabadi Jan 15, 2026
bf9745b
Add tests
CyrusNajmabadi Jan 16, 2026
323daab
Merge branch 'features/collection-expression-arguments' into removePr…
CyrusNajmabadi Jan 16, 2026
6086f21
Remove
CyrusNajmabadi Jan 16, 2026
f22e61a
Update symbols
CyrusNajmabadi Jan 16, 2026
eb0c874
REmove verifier
CyrusNajmabadi Jan 16, 2026
240ce00
Rename
CyrusNajmabadi Jan 16, 2026
4bcf6c8
merge
CyrusNajmabadi Jan 16, 2026
2e3e03c
Update loc string
CyrusNajmabadi Jan 16, 2026
d37d427
Remove comment
CyrusNajmabadi Jan 16, 2026
f9250d0
Clarify tests
CyrusNajmabadi Jan 16, 2026
fe4ba41
Merge branch 'nullableSimplification' into removePrototype
CyrusNajmabadi Jan 16, 2026
e41b82c
Merge remote-tracking branch 'upstream/features/collection-expression…
CyrusNajmabadi Jan 16, 2026
db2e289
Apply suggestion from @CyrusNajmabadi
CyrusNajmabadi Jan 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Compilers/CSharp/Portable/CSharpResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -6789,7 +6789,7 @@ To remove the warning, you can use /reference instead (set the Embed Interop Typ
<value>There is no target type for the collection expression.</value>
</data>
<data name="ERR_CollectionBuilderAttributeMethodNotFound" xml:space="preserve">
<value>Could not find an accessible '{0}' method with the expected signature: a static method with a single parameter of type 'ReadOnlySpan&lt;{1}&gt;' and return type '{2}'.</value>
<value>Could not find an accessible '{0}' method with the expected signature: a static method whose last parameter is of type 'ReadOnlySpan&lt;{1}&gt;' and return type '{2}'.</value>
</data>
<data name="ERR_CollectionBuilderNoElementType" xml:space="preserve">
<value>'{0}' has a CollectionBuilderAttribute but no element type.</value>
Expand Down
13 changes: 6 additions & 7 deletions src/Compilers/CSharp/Portable/Errors/ErrorCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2454,13 +2454,12 @@ internal enum ErrorCode
ERR_StructLayoutAndExtendedLayout = 9351,
ERR_RuntimeDoesNotSupportExtendedLayoutTypes = 9352,

// PROTOTYPE: Renumber accordingly.
ERR_CollectionArgumentsMustBeFirst = 9400,
ERR_CollectionArgumentsNotSupportedForType = 9401,
ERR_CollectionArgumentsDynamicBinding = 9402,
ERR_CollectionArgumentsMustBeEmpty = 9403,
ERR_CollectionRefLikeElementType = 9404,
ERR_BadCollectionArgumentsArgCount = 9405,
ERR_CollectionArgumentsMustBeFirst = 9353,
ERR_CollectionArgumentsNotSupportedForType = 9354,
ERR_CollectionArgumentsDynamicBinding = 9355,
ERR_CollectionArgumentsMustBeEmpty = 9356,
ERR_CollectionRefLikeElementType = 9357,
ERR_BadCollectionArgumentsArgCount = 9358,

// Note: you will need to do the following after adding errors:
// 1) Update ErrorFacts.IsBuildOnlyDiagnostic (src/Compilers/CSharp/Portable/Errors/ErrorFacts.cs)
Expand Down
4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.cs.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.de.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.es.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.fr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.it.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.ja.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.ko.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.pl.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.pt-BR.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.ru.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Compilers/CSharp/Portable/xlf/CSharpResources.tr.xlf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading