3 references to GetSyntaxTreeOrdinal
Microsoft.CodeAnalysis.CSharp (3)
Compilation\CSharpCompilation.cs (1)
2545
var treeNum =
GetSyntaxTreeOrdinal
(syntaxTree);
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
192
: internalSymbol2.GetFirstLocationOrNone().SourceTree is { } tree ? $"<tree {internalSymbol2.DeclaringCompilation.
GetSyntaxTreeOrdinal
(tree)}>"
Symbols\LexicalSortKey.cs (1)
63
: this(tree == null ? -1 : compilation.
GetSyntaxTreeOrdinal
(tree), position)