10 references to CompareSourceLocations
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\ExecutableCodeBinder.vb (1)
140If bestSymbol Is Nothing OrElse Me.Compilation.CompareSourceLocations(bestLocation, sourceLocation) > 0 Then
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
666Me._compilation.CompareSourceLocations(
Emit\PEModuleBuilder.vb (1)
301If loc.IsInSource AndAlso (result Is Nothing OrElse compilation.CompareSourceLocations(result, loc) > 0) Then
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (1)
342Return _compilation.CompareSourceLocations(x, y)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousTypeOrDelegateTemplateSymbol.vb (1)
344Me.Manager.Compilation.CompareSourceLocations(currentAdjustedNames.Location, newLocation) <= 0 Then
Symbols\Source\OverloadingHelper.vb (2)
116If firstOverrideName Is Nothing OrElse compilation.CompareSourceLocations(member.Locations(0), locationOfFirstOverride) < 0 Then 135If firstName Is Nothing OrElse compilation.CompareSourceLocations(memberLocation, locationOfFirstName) < 0 Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (3)
1810Dim candidateIsBigger As Boolean = Me.DeclaringCompilation.CompareSourceLocations(bestPartialMethodLocation, candidateLocation) < 0 1835Dim candidateIsBigger = Me.DeclaringCompilation.CompareSourceLocations(bestImplLocation, candidateLocation) < 0 2258Dim fileCompResult = compilation.CompareSourceLocations(typeToTestLocation, structBeingAnalyzedLocation)