3 references to CompareSourceLocations
Microsoft.CodeAnalysis.CSharp (3)
Emitter\Model\PEModuleBuilder.cs (1)
476
if (loc.IsInSource && (result == null || compilation.
CompareSourceLocations
(result, loc) > 0))
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
843
return _compilation.
CompareSourceLocations
(x, y);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
101
if (currentSmallestLocation != null && this.Manager.Compilation.
CompareSourceLocations
(currentSmallestLocation, location) < 0)