Skip to content

Commit

Permalink
update manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdageek committed May 1, 2024
1 parent 3f88de3 commit 669942c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/design/mono/mono-manpage-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ A number of diagnostic command line options take as argument a method
description. A method description is a textual representation that can
be used to uniquely identify a method. The syntax is as follows:

[namespace]classname:methodname[(arguments)]
[W:][namespace]classname:methodname[(arguments)]

The values in brackets are optional, like the namespace and the
arguments. The arguments themselves are either empty, or a
Expand All @@ -93,11 +93,18 @@ both a comma and a space and '\>'.

By-reference arguments should include a "&" after the typename.

If the method description is prefixed by 'W:' (or 'w:'), then it will
match a *wrapper* method that may be created by the runtime for the
specified method. (For example imported P/Invoke methods may have a
wrapper generated by the runtime.)


Examples:

*:ctor(int) // All constructors that take an int as an argument
*:Main // Methods named Main in any class
*:Main(string[]) // Methods named Main that take a string array in any class
W:UnixSignal:install // Wrappers for the UnixSignal.install DllImport

## RUNTIME OPTIONS

Expand Down

0 comments on commit 669942c

Please sign in to comment.