Skip to content

Function pointer invocation has "None" IOperation #48082

@Youssef1313

Description

@Youssef1313

Version Used:

master

Steps to Reproduce:

public class C {
    public unsafe void M(delegate*<string, int, void> ptr) {
        ptr("a", 1);
    }
}

SharpLab

Expected Behavior:

InvocationExpression has a suitable operation.

Actual Behavior:

InvocationExpression has "None" operation.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions