SemPtr SemPtr
SemPtr SemPtr
Documentation generated with DocFX
Using SingulinkFX as the template

Search Results for

    Edit this page

    Property CallConvs

    | Edit this page View Source

    CallConvs

    Gets or initializes the calling conventions that should be used for the generated extension members for invoking the function pointer.

    Declaration
    public Type[]? CallConvs { get; init; }
    Property Value
    Type Description
    Type[]

    The calling conventions that should be used for the generated extension members for invoking the function pointer, or null to use the calling conventions specified by an UnmanagedFunctionPointerAttribute on the target delegate type, or the default calling convention for the platform if none is specified.

    Remarks

    If the value of this property is null, the calling conventions specified by an UnmanagedFunctionPointerAttribute on the target delegate type will be used, or the default calling convention for the platform if none is specified.

    The values specified in this property must be valid calling conventions types (i.e., CallConv* types from the System.Runtime.CompilerServices namespace).

    © 2026 Felix Rüdiger. SemPtr and its documentation are licensed under the MIT license.