6 references to TryCreate
Microsoft.CodeAnalysis.CSharp.EditorFeatures (5)
CompleteStatement\CompleteStatementCommandHandler.cs (1)
71
using var transaction = CaretPreservingEditTransaction.
TryCreate
(CSharpEditorResources.Complete_statement_on_semicolon, args.TextView, _textUndoHistoryRegistry, _editorOperationsFactoryService);
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
89
using var transaction = CaretPreservingEditTransaction.
TryCreate
(
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
107
using var transaction = CaretPreservingEditTransaction.
TryCreate
(
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (1)
65
using var transaction = CaretPreservingEditTransaction.
TryCreate
(
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
98
using var transaction = CaretPreservingEditTransaction.
TryCreate
(
Microsoft.CodeAnalysis.EditorFeatures (1)
SplitComment\SplitCommentCommandHandler.cs (1)
106
using var transaction = CaretPreservingEditTransaction.
TryCreate
(