-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix for "Function pointer invocation has "None" IOperation" #57191
Conversation
@333fred could you have a look? |
@bernd5 this needs an API review. Please follow the process outlined in https://github.com/dotnet/roslyn/blob/main/docs/contributing/API%20Review%20Process.md. |
See #57195 |
@333fred Do you see why the "roslyn-integration-CI" test failed? |
Don't worry about it. |
…tionOperation.InvokedPointer
…tionOperation.InvokedPointer
…tionOperation.InvokedPointer
This reverts commit 39118dd.
…rInvocationOperation.Target
…ionPointerSignature
Should we catch null-Type in |
Are you stating that it can happen and you have a test case, or that you're unsure if it can happen and wondering if we should handle it? |
For now I extended NoneOperation with missing type data (see CSharpOperationFactory.Create). |
@333fred @AlekseyTs Could you have a look again? |
src/Compilers/CSharp/Portable/Operations/CSharpOperationFactory.cs
Outdated
Show resolved
Hide resolved
This reverts commit 98e5c37.
…used for NoneOperations)
Is there a failing test? |
@333fred @AlekseyTs : All checks have passed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 47)
@333fred is here still something I can do? |
src/Compilers/Core/Portable/Operations/ControlFlowGraphBuilder.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (commit 47), modulo one small suppression that can be removed. @bernd5, once that is fixed I'll set this to auto squash and merge.
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
fixes: #48082