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