-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Implement IAttributeOperation #59369
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
eb4fdf1
Initial implementation of IAttributeOperation
Youssef1313 218fbbf
Update IOperationTests_IAttributeOperation.cs
Youssef1313 52e8782
Fix implementation
Youssef1313 1611fca
Fix freeing
Youssef1313 c074598
Add caller info test
Youssef1313 75bcbda
Produce InvalidOperation for null attribute constructor
Youssef1313 c184951
Fix crash
Youssef1313 395f0cd
Apply suggestions from code review
Youssef1313 878080b
Fix implementation
Youssef1313 3af6851
Add assertion back
Youssef1313 aeebffd
null suppressions
Youssef1313 28aa869
Match existing hasErrors logic
Youssef1313 a7834df
Fix failures
Youssef1313 443b239
Fix test
Youssef1313 dfdf708
Attempt to fix failing test
Youssef1313 322d436
Null suppressions
Youssef1313 548a136
Create ContextualAttributeBinder for attributes
Youssef1313 3624368
Fix attributed member
Youssef1313 11f579f
Special case local function - feels bad?
Youssef1313 dad1e82
Fix implementation
Youssef1313 5b486b3
Revert
Youssef1313 842ff18
Null suppression
Youssef1313 3af9698
Loosen invalid operation
Youssef1313 01c964b
More fixes
Youssef1313 91364c8
Fix tests
Youssef1313 7221124
Update TestOperationVisitor.cs
Youssef1313 4f1a9e8
Fix IDE failing tests
Youssef1313 03cf01b
Fix more tests
Youssef1313 7147e17
Small fix, add more tests
Youssef1313 d4526f1
Merge branch 'main' of https://GitHub.com/dotnet/roslyn into iattribu…
Youssef1313 a767e98
Rely on recent BoundAttribute updates for IAttributeOperation
Youssef1313 702bc40
Fix CallerMemberName for IOperation
Youssef1313 bb93029
Apply suggestions from code review
Youssef1313 67315c8
Address feedback
Youssef1313 72962a8
Fix speculative model
Youssef1313 ea43f08
Fix naming
Youssef1313 3e5640c
IAttributeOperation for VB
Youssef1313 25049f9
Update VB test
Youssef1313 e42a20e
Merge remote-tracking branch 'upstream/main' into iattribute-operation
Youssef1313 59aed03
More little progress
Youssef1313 9b03d73
Attempt to fix
Youssef1313 2117d3a
Add more tests
Youssef1313 9502a6e
Add assert and remove invalid comment
Youssef1313 3fdbd8e
Merge branch 'main' into iattribute-operation
Youssef1313 5f76ef6
Add test
Youssef1313 29c9f92
Merge remote-tracking branch 'upstream/main' into iattribute-operation
Youssef1313 7799e55
A little more progress
Youssef1313 be1fa46
Merge branch 'main' of https://GitHub.com/dotnet/roslyn into iattribu…
Youssef1313 92ca441
Merge branch 'main' into iattribute-operation
Youssef1313 cfc0925
more tests
Youssef1313 e98a831
Temporary assert
Youssef1313 49ba5b5
Update assert
Youssef1313 6ad85a3
Fix error
Youssef1313 310a77d
More work
Youssef1313 73ed2b4
Rename
Youssef1313 32ebc64
Refactor
Youssef1313 d848fd3
Small fix
Youssef1313 7dfc2cb
More refactoring
Youssef1313 3db4b70
Fix VB bug
Youssef1313 0659d25
More tests
Youssef1313 e7a6644
Update test
Youssef1313 8b3365c
Address part of feedback
Youssef1313 4440e09
Merge remote-tracking branch 'upstream/main' into iattribute-operation
Youssef1313 2148d52
CFG
Youssef1313 5d6c23a
Public API
Youssef1313 495d3b4
Suppress
Youssef1313 ba9be5a
Update PublicAPI.Unshipped.txt
Youssef1313 31b77a9
Merge branch 'main' into iattribute-operation
Youssef1313 60ac6c4
Fix bad merge conflict resolution
Youssef1313 6d33516
Address feedback
Youssef1313 5a406a0
Merge branch 'main' into iattribute-operation
Youssef1313 76fb6f9
Add more tests
Youssef1313 dd72277
Update src/Compilers/CSharp/Test/IOperation/IOperation/IOperationTest…
Youssef1313 d87efc2
Merge branch 'main' into iattribute-operation
Youssef1313 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 12 additions & 7 deletions
19
src/Compilers/CSharp/Portable/Generated/BoundNodes.xml.Generated.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.