C# Класс Microsoft.Cci.OriginalSourceLocation

Наследование: IPrimarySourceLocation
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ISourceLocation bool
ISourceLocation int

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ISourceLocation ( ISourceLocation location ) : bool
ISourceLocation ( int offset, char destination, int destinationOffset, int length ) : int

Описание методов

OriginalSourceLocation() публичный Метод

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.
Результат System