C# Class Microsoft.Cci.OriginalSourceLocation

Inheritance: IPrimarySourceLocation
ファイルを表示 Open project: visualmutator/visualmutator

Private Properties

Property Type Description
ISourceLocation bool
ISourceLocation int

Public Methods

Method Description
OriginalSourceLocation ( IIncludedSourceLocation includedSourceLocation ) : System

Allocates a wrapper for a source location that is obtained from a region inside a primary source document that was in fact derived from another document, typically via a preprocessor #include directive. The wrapper makes the wrapped source location appear as if it were a location in the document that was included. This is useful for error reporting. For editing, the wrapped location is better.

Private Methods

Method Description
ISourceLocation ( ISourceLocation location ) : bool
ISourceLocation ( int offset, char destination, int destinationOffset, int length ) : int

Method Details

OriginalSourceLocation() public method

Allocates a wrapper for a source location that is obtained from a region inside a primary source document that was in fact derived from another document, typically via a preprocessor #include directive. The wrapper makes the wrapped source location appear as if it were a location in the document that was included. This is useful for error reporting. For editing, the wrapped location is better.
public OriginalSourceLocation ( IIncludedSourceLocation includedSourceLocation ) : System
includedSourceLocation IIncludedSourceLocation A source location that falls inside a region of text that originally came from another source document.
return System