Exemplo n.º 1
0
 /// <summary>Initializes a new instance of the <see cref="ObjectModuleDetails"/> class.</summary>
 /// <param name="frontEndVersion">The front end version of the compiler producing the
 /// object module.</param>
 /// <param name="backEndVersion">The back end version of the compiler producing the object
 /// module.</param>
 /// <param name="commandLine">The command line passed to the compiler used to build the
 /// object module.</param>
 public ObjectModuleDetails(Version frontEndVersion, Version backEndVersion, string commandLine, Language language, string compiler, bool hasSecurityChecks, bool hasDebugInfo)
 {
     _commandLine       = new CompilerCommandLine(commandLine ?? String.Empty);
     _frontEndVersion   = frontEndVersion ?? new Version();
     _backEndVersion    = backEndVersion ?? new Version();
     _language          = language;
     _compiler          = compiler;
     _hasSecurityChecks = hasSecurityChecks;
     _hasDebugInfo      = hasDebugInfo;
 }
Exemplo n.º 2
0
 /// <summary>Initializes a new instance of the <see cref="ObjectModuleDetails"/> class.</summary>
 /// <param name="frontEndVersion">The front end version of the compiler producing the
 /// object module.</param>
 /// <param name="backEndVersion">The back end version of the compiler producing the object
 /// module.</param>
 /// <param name="commandLine">The command line passed to the compiler used to build the
 /// object module.</param>
 public ObjectModuleDetails(Version frontEndVersion, Version backEndVersion, string commandLine, Language language, string compiler, bool hasSecurityChecks, bool hasDebugInfo)
 {
     _commandLine = new CompilerCommandLine(commandLine ?? String.Empty);
     _frontEndVersion = frontEndVersion ?? new Version();
     _backEndVersion = backEndVersion ?? new Version();
     _language = language;
     _compiler = compiler;
     _hasSecurityChecks = hasSecurityChecks;
     _hasDebugInfo = hasDebugInfo;
 }
Exemplo n.º 3
0
 /// <summary>Initializes a new instance of the <see cref="ObjectModuleDetails"/> class.</summary>
 /// <param name="compilerFrontEndVersion">The front end version of the compiler producing the object module.</param>
 /// <param name="backEndVersion">The back end version of the compiler producing the object module.</param>
 /// <param name="commandLine">The command line passed to the compiler used to build the object module.</param>
 /// <param name="language">The language of the object module.</parm>
 /// <param name="compilerName">The compiler used to create the object module.</param>
 /// <param name="hasSecurityChecks">A boolean that indicates whether the PE contains security checks.</param>
 /// <param name="hasDebugInfo">A boolean that indicates whether the PE comes with a corresponding PDB.</param>
 ///
 public ObjectModuleDetails(
     string name,
     string library,
     string compilerName,
     Version compilerFrontEndVersion,
     Version backEndVersion,
     string commandLine,
     Language language,
     bool hasSecurityChecks, bool hasDebugInfo)
 {
     Name    = name;
     Library = library;
     CompilerFrontEndVersion = compilerFrontEndVersion ?? new Version();
     CompilerBackEndVersion  = backEndVersion ?? new Version();
     _compilerCommandLine    = new CompilerCommandLine(commandLine ?? String.Empty);
     Language          = language;
     CompilerName      = compilerName;
     HasSecurityChecks = hasSecurityChecks;
     HasDebugInfo      = hasDebugInfo;
 }