CodeQL library for C#
codeql/csharp-all 0.8.9 (changelog, source)
Search

Class Compilation

An invocation of the C# compiler.

Import path

import semmle.code.csharp.commons.Compilation

Direct supertypes

Predicates

getADiagnostic

Gets a diagnostic associated with this compilation.

getAFileCompiled

Gets a source file compiled in this compilation.

getAReference

Gets a reference in this compilation.

getArgument

Gets the ith command line argument.

getArguments

Gets the arguments as a concatenated string.

getCpuSeconds

Gets the CPU seconds for the entire extractor process.

getDirectoryString

Gets the directory in which this compilation was run, as a string.

getElapsedSeconds

Gets the elapsed seconds for the entire extractor process.

getExpandedArgument

Gets the ith expanded command line argument. This is similar to getArgument, but for a @someFile.rsp argument, it includes the arguments from that file, rather than just taking the argument literally.

getExpandedArguments

Gets the expanded arguments as a concatenated string. This is similar to getArguments, but for a @someFile.rsp argument, it includes the arguments from that file, rather than just taking the argument literally.

getExtractorCpuSeconds

Gets the CPU time of the extraction.

getExtractorElapsedSeconds

Gets the elapsed time of the extraction.

getExtractorUserCpuSeconds

Gets the user CPU time of the extraction.

getFileCompiled

Gets the ’i’th source file in this compilation.

getFolder

Gets the folder in which this compilation was run.

getFrontendCpuSeconds

Gets the CPU time of the compilation.

getFrontendElapsedSeconds

Gets the elapsed time of the compilation.

getFrontendUserCpuSeconds

Gets the user CPU time of the compilation.

getInfo

Gets the piece of compilation information with the given key, if any.

getMetric

Gets a performance metric for this compilation.

getOutputAssembly

Gets the output assembly.

getPeakWorkingSetMB

Gets the peak working set of the extractor process in MB.

getReference

Gets the ith reference in this compilation.

toString

Gets a textual representation of this compilation.