1 write to BasePosition
Microsoft.CodeAnalysis.Workspaces (1)
IndentationResult.cs (1)
34this.BasePosition = basePosition;
12 references to BasePosition
Microsoft.CodeAnalysis.CSharp.Features (9)
BraceCompletion\AbstractCurlyBraceOrBracketCompletionService.cs (1)
162var baseLinePosition = sourceText.Lines.GetLinePosition(indentation.BasePosition);
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
80var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpConstructorSnippetProvider.cs (1)
74var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpElseSnippetProvider.cs (1)
96var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpForEachLoopSnippetProvider.cs (1)
83var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpIfSnippetProvider.cs (1)
60var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpWhileLoopSnippetProvider.cs (1)
60var newIndentation = new IndentationResult(indentation.BasePosition, indentation.Offset + syntaxFormattingOptions.TabSize);
SplitStringLiteral\StringSplitter.cs (2)
144var baseLine = newSourceText.Lines.GetLineFromPosition(desiredIndentation.BasePosition); 146var baseOffsetInLineInPositions = desiredIndentation.BasePosition - baseLine.Start;
Microsoft.CodeAnalysis.EditorFeatures (1)
Shared\Extensions\SmartIndentExtensions.cs (1)
15var position = new SnapshotPoint(lineToBeIndented.Snapshot, result.BasePosition);
Microsoft.CodeAnalysis.Workspaces (2)
IIndentationService.cs (2)
69var baseLine = sourceText.Lines.GetLineFromPosition(indentationResult.BasePosition); 70var baseOffsetInLine = indentationResult.BasePosition - baseLine.Start;