6.5.4. Language Representation for C#/.NETΒΆ

The description in this chapter refers to RGFs generated by csharp2rfg. A software system S written in C# is analyzed based on

  • the source code of S, and

  • metadata from all non-source .NET assemblies referenced by S, and

  • (optionally) from all byte-code of .NET assemblies referenced by S.

The assemblies in byte code format, which are generated from the source code of S by a compiler like the Microsoft C# compiler or the Mono compiler, are called source assemblies in this document. For each source assembly and referenced assembly, an node-assembly Assembly node is created in the Assembly and Assembly References views of the RFG. For setting the attributes of these nodes, we also read a few assembly properties, like the full name, from both source assemblies and referenced assemblies. All other facts are obtained by processing the source code of the system.