19 references to GetFallbackAnalyzerOptions
Microsoft.CodeAnalysis.CSharp.EditorFeatures (7)
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
142
var formattingOptions = subjectBuffer.GetSyntaxFormattingOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), document.Project.Services, explicitFormat: false);
Formatting\CSharpFormattingInteractionService.cs (3)
83
var options = textBuffer.GetSyntaxFormattingOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), parsedDocument.LanguageServices, explicitFormat: true);
94
var options = textBuffer.GetSyntaxFormattingOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), parsedDocument.LanguageServices, explicitFormat: true);
109
var indentationOptions = textBuffer.GetIndentationOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), parsedDocument.LanguageServices, explicitFormat: false);
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
176
var indentationOptions = subjectBuffer.GetIndentationOptions(_editorOptionsService, project.
GetFallbackAnalyzerOptions
(), project.Services, explicitFormat: false);
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
83
var indentationOptions = subjectBuffer.GetIndentationOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), parsedDocument.LanguageServices, explicitFormat: false);
StringCopyPaste\StringCopyPasteCommandHandler.cs (1)
185
parsedDocumentBeforePaste, subjectBuffer, snapshotBeforePaste.AsText(), stringExpressionBeforePaste, documentBeforePaste.Project.
GetFallbackAnalyzerOptions
(), cancellationToken);
Microsoft.CodeAnalysis.EditorFeatures (8)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (2)
135
ModifySelectedNode(args, parsedDocument, selectedNode, addBrace, caretPosition, document.Project.
GetFallbackAnalyzerOptions
(), cancellationToken);
146
var formattingOptions = args.SubjectBuffer.GetSyntaxFormattingOptions(EditorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), parsedDocument.LanguageServices, explicitFormat: false);
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (3)
121
var context = GetBraceCompletionContext(parsedDocument, document.Project.
GetFallbackAnalyzerOptions
());
140
var indentationOptions = SubjectBuffer.GetIndentationOptions(EditorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), contextAfterStart.Document.LanguageServices, explicitFormat: false);
433
context = GetBraceCompletionContext(ParsedDocument.CreateSynchronously(document, cancellationToken), document.Project.
GetFallbackAnalyzerOptions
());
CommentSelection\AbstractCommentSelectionBase.cs (1)
152
var formattingOptions = subjectBuffer.GetSyntaxFormattingOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), document.Project.Services, explicitFormat: false);
Shared\Extensions\ITextSnapshotExtensions.cs (1)
42
var options = textBuffer.GetSyntaxFormattingOptions(editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), document.Project.Services, explicitFormat: false);
SmartIndent\SmartIndent.cs (1)
45
var indentationOptions = line.Snapshot.TextBuffer.GetIndentationOptions(_editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), document.Project.Services, explicitFormat: false);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
244
var fallbackOptions = document.Project.
GetFallbackAnalyzerOptions
();
Microsoft.VisualStudio.LanguageServices (3)
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (1)
59
var formattingOptions = textBuffer.GetSyntaxFormattingOptions(EditorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), document.Project.Services, explicitFormat: true);
Snippets\SnippetExpansionClient.cs (1)
1067
var fallbackOptions = documentWithImports.Project.
GetFallbackAnalyzerOptions
();
Venus\ContainedDocument.cs (1)
773
var formattingOptions = subjectBuffer.GetSyntaxFormattingOptions(editorOptionsService, document.Project.
GetFallbackAnalyzerOptions
(), document.Project.Services, explicitFormat: false);