// This uses the existing format that earlier prototypes of the Roslyn LSIF tool implemented; a different format may make more sense long term, but changing the
// moniker makes it difficult for other systems that have older LSIF indexes to the connect the two indexes together.
// Skip all local things that cannot escape outside of a single file: downstream consumers simply treat this as meaning a references/definition result
// doesn't need to be stitched together across files or multiple projects or repositories.
if(symbol.Kind==SymbolKind.Local||
symbol.Kind==SymbolKind.RangeVariable||
symbol.Kind==SymbolKind.Label||
symbol.Kind==SymbolKind.Alias)
{
returnnull;
}
// Skip built in-operators. We could pick some sort of moniker for these, but I doubt anybody really needs to search for all uses of