10 references to TryGetWorkspace
Microsoft.CodeAnalysis.EditorFeatures (10)
ChangeSignature\AbstractChangeSignatureCommandHandler.cs (1)
50
=> subjectBuffer.
TryGetWorkspace
(out workspace) &&
ExtractInterface\AbstractExtractInterfaceCommandHandler.cs (1)
95
=> subjectBuffer.
TryGetWorkspace
(out workspace) &&
ExtractMethod\ExtractMethodCommandHandler.cs (1)
75
if (!args.SubjectBuffer.
TryGetWorkspace
(out var workspace) ||
Formatting\FormatCommandHandler.Paste.cs (1)
54
if (!subjectBuffer.
TryGetWorkspace
(out var workspace) ||
InlineRename\CommandHandlers\AbstractRenameCommandHandler_RenameHandler.cs (2)
56
if (!args.SubjectBuffer.
TryGetWorkspace
(out var workspace))
131
return args.SubjectBuffer.
TryGetWorkspace
(out var workspace) &&
Organizing\OrganizeDocumentCommandHandler.cs (2)
75
if (args.SubjectBuffer.
TryGetWorkspace
(out var retrievedWorkspace))
125
if (!subjectBuffer.
TryGetWorkspace
(out var workspace))
Shared\Extensions\ITextBufferExtensions.cs (2)
18
if (buffer.
TryGetWorkspace
(out var workspace))
57
if (buffer.
TryGetWorkspace
(out var workspace))