Fix for "Function pointer invocation has "None" IOperation"#57191
Fix for "Function pointer invocation has "None" IOperation"#57191333fred merged 48 commits intodotnet:mainfrom
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 |
|
@333fred is here still something I can do? |
src/Compilers/Core/Portable/Operations/ControlFlowGraphBuilder.cs
Outdated
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 4 pipeline(s). |
fixes: #48082