The following tables list the members exposed by ISourceFile.
Public Properties
| Name | Description |
| CodeElements |
Get a sequence of code elements contained in this source file.
|
| CoverageDataAvailable |
Gets a boolean value that indicates if coverage data is available for at least one type declared this source file.
|
| DirectoryPath | Gets a string that contains this absolute source file's parent directory path, like "C:\Dir" for the source file "C:\Dir\FileName.cs". |
| FileName | Gets a string that contains this source file name, like "FileName.cs" for the source file "C:\Dir\FileName.cs". |
| FileNameExtension | Gets a string that contains this source file name extension, like ".cs" for the source file "C:\Dir\FileName.cs". |
| FileNameWithoutExtension | Gets a string that contains this source file name without extension, like "FileName" for the source file "C:\Dir\FileName.cs". |
| FilePath |
Gets this absolute source file path object.
|
| FilePathString | Gets a string that contains this absolute source file path, like "C:\Dir\FileName.cs". |
| Id |
Get the id of the source file.
|
| Language |
Gets this source file language, inferred from the source file extension.
|
| NbCharacters |
Get the number of characters in this source file.
|
| NbILInstructions |
Gets a numeric nullable value counting the number of IL instructions of type(s) declared in this source file.
|
| NbLines |
Get the number of lines in this source file.
|
| NbLinesOfCode | Gets a numeric nullable value counting the number of logical lines of code of type(s) declared in this source file. |
| NbLinesOfCodeCovered | Gets a numeric nullable value in the range [0,this.NbLinesOfCode] counting the number of lines of code of types declared this source file, covered by tests. |
| NbLinesOfCodeNotCovered | Gets a numeric nullable value in the range [0,this.NbLinesOfCode] counting the number of lines of code of types declared this source file, not covered by tests. |
| NbLinesOfComment |
Get the number of lines containing comment in this source file.
|
| PercentageCoverage |
Gets a numeric float nullable value in the range [0f,100f] assessing the coverage percentage of types declared this source file.
|
Top
See Also