20 references to CSharpSnippetHelpers
Microsoft.CodeAnalysis.CSharp.Features (20)
Snippets\AbstractCSharpForLoopSnippetProvider.cs (2)
116
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
122
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\AbstractCSharpTypeSnippetProvider.cs (1)
101
var indentationString =
CSharpSnippetHelpers
.GetBlockLikeIndentationString(document, typeDeclaration.OpenBraceToken.SpanStart, syntaxFormattingOptions, cancellationToken);
Snippets\CSharpConstructorSnippetProvider.cs (2)
79
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
85
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpDoWhileLoopSnippetProvider.cs (2)
44
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
50
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpElseSnippetProvider.cs (2)
64
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
70
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpForEachLoopSnippetProvider.cs (2)
124
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
130
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpIfSnippetProvider.cs (2)
34
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
40
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpIntMainSnippetProvider.cs (1)
58
var indentationString =
CSharpSnippetHelpers
.GetBlockLikeIndentationString(document, body.OpenBraceToken.SpanStart, syntaxFormattingOptions, cancellationToken);
Snippets\CSharpLockSnippetProvider.cs (2)
35
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
41
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpVoidMainSnippetProvider.cs (2)
37
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
43
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(
Snippets\CSharpWhileLoopSnippetProvider.cs (2)
34
=>
CSharpSnippetHelpers
.GetTargetCaretPositionInBlock(
40
=>
CSharpSnippetHelpers
.AddBlockIndentationToDocumentAsync(