cscm.CSharpFrontEnd

class cscm.CSharpFrontEnd

Bases: cscm.FrontEndBase

A helper class with useful methods for any compiler model that uses the dotnet front end. This contains utility code for constructing the dotnetfe command line.

You do not need to instantiate this class: all methods are static.

Methods

cs_and_fe_options() Generates CodeSonar and front end options.
first_options() Get the beginning of argv for the front end command line.
static cs_and_fe_options(language, pointer_width, pc)

Generates CodeSonar and front end options.

Parameters:
Return type:

[ CmdArgument ]

static first_options(source_file, object_file="")

Get the beginning of argv for the front end command line.

Parameters:
  • source_file (str) –
  • object_file (str) –
Return type:

[ CmdArgument ]