Skip to content

C# proxy compile error (Type&) when action method has out parameter #8

Open
@elize1979

Description

@elize1979

Example:

[HttpGet]
public int GetIntAndString(out string someString)
{
    someString = "hello";
    return 1;
}

Generated method will look like, see String&:

public virtual async Task<HttpResponseMessage> GetIntAndStringAsync(String& generatedSqlQuery)
{
    return await ...
}

Obviously this code can't be compiled. getting Error:
Error 1 Identifier expected

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions