CodeQL library for C#
codeql/csharp-all 0.4.4 (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.

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.

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.