During reverse engineering, the following code constructs in Visual C# correspond to UML elements.
Delegates in C# are reverse engineered as UML classes with the <<delegate>> stereotype and include: Name Visibility (public, protected, or private) Signature (added to the class as an operation)
C# method parameters are reverse engineered as UML parameters (parameter: An unbound variable that can be changed, passed, or returned. A parameter can include a name, type, and direction of communication. Parameters are used to specify operations, messages, events, templates, and more.) and include:
Name Type Direction (in, inout, out, or return) Default value
C# code constructs not supported in UML
The following C# code constructs won't be mapped to UML elements when reverse engineering from Visual Studio .NET to Microsoft Office Visio.
Classes: new, internal, static constructors Data members: new, internal Enumerated type: base type Events: new, internal Exceptions Parameter: paramArray Properties: new, internal, override, sealed