Microsoft.Cci.OriginalSourceLocation.OriginalSourceLocation C# (CSharp) Метод

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
    public OriginalSourceLocation(IIncludedSourceLocation includedSourceLocation) {
      this.includedSourceLocation = includedSourceLocation;
    }