Module Location
Provides the Location
class to give a location for each
program element.
There are two types of location: SourceLocation
and Assembly
.
A SourceLocation
provides a section of text in a source file
containing the program element.
An Assembly
is a location in a reference. The same element
may have both SourceLocation
and Assembly
locations,
or even several Assembly
locations if the assembly file
is copied during the build process.
Import path
import semmle.code.csharp.Location
Imports
File | Provides classes representing filesystem files and folders. |
Classes
Assembly | A .NET assembly location. |
EmptyLocation | An empty location. |
Location | A location of a program element. |
SourceLocation | A location in source code, comprising of a source file and a segment of text within the file. |
Version | An assembly version, for example |