7 references to BasePosition
Microsoft.CodeAnalysis.CSharp.Features (4)
BraceCompletion\AbstractCurlyBraceOrBracketCompletionService.cs (1)
174
var baseLinePosition = sourceText.Lines.GetLinePosition(indentation.
BasePosition
);
Snippets\CSharpSnippetHelpers.cs (1)
41
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
SplitStringLiteral\StringSplitter.cs (2)
132
var baseLine = newSourceText.Lines.GetLineFromPosition(desiredIndentation.
BasePosition
);
134
var baseOffsetInLineInPositions = desiredIndentation.
BasePosition
- baseLine.Start;
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Extensions\SmartIndentExtensions.cs (1)
15
var position = new SnapshotPoint(lineToBeIndented.Snapshot, result.
BasePosition
);
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (2)
68
var baseLine = sourceText.Lines.GetLineFromPosition(indentationResult.
BasePosition
);
69
var baseOffsetInLine = indentationResult.
BasePosition
- baseLine.Start;