public void DefineTokenSourceLocation(uint token, ILocation location) {
if (this.symWriter5 == null) return;
IPrimarySourceLocation ploc = null;
foreach (IPrimarySourceLocation psloc in this.sourceLocationProvider.GetPrimarySourceLocationsFor(location)) {
ploc = psloc;
break;
}
if (ploc == null) return;
ISymUnmanagedDocumentWriter document = this.GetDocumentWriterFor(ploc.PrimarySourceDocument);
this.symWriter5.MapTokenToSourceSpan(token, document, (uint)ploc.StartLine, (uint)ploc.StartColumn, (uint)ploc.EndLine, (uint)ploc.EndColumn);
}