Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ Supplied types must be from the official <xref:System.Runtime.CompilerServices>
## Remarks

The export name must be a valid identifier for a native symbol on the target platform. The identifier must not conflict with system-provided native identifiers (for example, names of methods in the C standard library, or POSIX/Win32 API names).
Using a prefix for symbols is a common way to avoid name collisions of native symbols. For example, you can name the exported functions as `mylibrary_free`, `mylibrary_isdigit` and `mylibrary_copy` to avoid name collisions.

Target-dependent name mangling will be performed on the symbol name such as prepending or appending `_` or `@` characters to distinguish calling conventions on x86 Windows.

Expand Down