1 write to BasePosition
Microsoft.CodeAnalysis.Workspaces (1)
IndentationResult.cs (1)
34
this.
BasePosition
= basePosition;
12 references to BasePosition
Microsoft.CodeAnalysis.CSharp.Features (9)
BraceCompletion\AbstractCurlyBraceOrBracketCompletionService.cs (1)
162
var baseLinePosition = sourceText.Lines.GetLinePosition(indentation.
BasePosition
);
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
80
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpConstructorSnippetProvider.cs (1)
74
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpElseSnippetProvider.cs (1)
96
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpForEachLoopSnippetProvider.cs (1)
83
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpIfSnippetProvider.cs (1)
60
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
Snippets\CSharpWhileLoopSnippetProvider.cs (1)
60
var newIndentation = new IndentationResult(indentation.
BasePosition
, indentation.Offset + syntaxFormattingOptions.TabSize);
SplitStringLiteral\StringSplitter.cs (2)
144
var baseLine = newSourceText.Lines.GetLineFromPosition(desiredIndentation.
BasePosition
);
146
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)
IIndentationService.cs (2)
69
var baseLine = sourceText.Lines.GetLineFromPosition(indentationResult.
BasePosition
);
70
var baseOffsetInLine = indentationResult.
BasePosition
- baseLine.Start;