29 references to CheckAndAdjustPosition
Microsoft.CodeAnalysis.CSharp (29)
Compilation\CSharpSemanticModel.cs (13)
206position = CheckAndAdjustPosition(position); 435position = CheckAndAdjustPosition(position); 779position = CheckAndAdjustPosition(position); 851position = CheckAndAdjustPosition(position); 912position = CheckAndAdjustPosition(position); 1341return CheckAndAdjustPosition(position - 1); 1345return CheckAndAdjustPosition(position); 1357Debug.Assert(position == CheckAndAdjustPosition(position), "Expected adjusted position"); 1815position = CheckAndAdjustPosition(position); 2850position = CheckAndAdjustPosition(position); 2902position = CheckAndAdjustPosition(position); 4909position = CheckAndAdjustPosition(position); 5407position = CheckAndAdjustPosition(position);
Compilation\MemberSemanticModel.cs (1)
201position = CheckAndAdjustPosition(position);
Compilation\MethodBodySemanticModel.cs (3)
166position = CheckAndAdjustPosition(position); 203position = CheckAndAdjustPosition(position); 221position = CheckAndAdjustPosition(position);
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
567return GetEnclosingMemberModel(CheckAndAdjustPosition(position)).GetSpeculativelyBoundExpression(position, expression, bindingOption, out binder, out crefSymbols);
Compilation\SyntaxTreeSemanticModel.cs (11)
596position = CheckAndAdjustPosition(position); 617position = CheckAndAdjustPosition(position); 632position = CheckAndAdjustPosition(position); 646position = CheckAndAdjustPosition(position); 660position = CheckAndAdjustPosition(position); 674position = CheckAndAdjustPosition(position); 688position = CheckAndAdjustPosition(position); 702position = CheckAndAdjustPosition(position); 721position = CheckAndAdjustPosition(position); 749position = CheckAndAdjustPosition(position); 2400var position = CheckAndAdjustPosition(location.SourceSpan.Start);