21 references to Text
Microsoft.CodeAnalysis.EditorFeatures (1)
Remote\SolutionChecksumUpdater.cs (1)
223(service, cancellationToken) => service.SynchronizeTextAsync(oldDocument.Id, state.Text, textChanges, cancellationToken),
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (2)
33/// cref="ProjectState.GetParseOptionsChecksum"/> and <see cref="DocumentStateChecksums.Text"/> 199var textChecksum = documentChecksumState.Text;
Microsoft.CodeAnalysis.Remote.ServiceHub (6)
Host\RemoteDocumentDifferenceService.cs (2)
52var oldTextChecksum = (await oldDocument.State.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).Text; 53var newTextChecksum = (await newDocument.State.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).Text;
Host\RemoteWorkspace.SolutionCreator.cs (3)
455if (oldDocumentChecksums.Text != newDocumentChecksums.Text) 457var serializableSourceText = await _assetProvider.GetAssetAsync<SerializableSourceText>(newDocumentChecksums.Text, cancellationToken).ConfigureAwait(false);
Services\AssetSynchronization\RemoteAssetSynchronizationService.cs (1)
103!state.Text.Equals(baseTextChecksum))
Microsoft.CodeAnalysis.Remote.Workspaces (1)
AbstractAssetProvider.cs (1)
89var serializableSourceText = await GetAssetAsync<SerializableSourceText>(documentSnapshot.Text, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (7)
Classification\IRemoteSemanticClassificationService.cs (1)
34/// <param name="checksum">Pass in <see cref="DocumentStateChecksums.Text"/>. This will ensure that the cached
Classification\SemanticClassificationCacheUtilities.cs (1)
31return (documentKey, checksums.Text);
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
119var textChecksum = Checksum.Create(documentChecksumState.Text, s_serializationFormatChecksum);
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
96return documentStateChecksum.Text;
Workspace\Solution\SolutionState_Checksum.cs (1)
154frozenSourceGeneratedDocumentTextChecksum = (await FrozenSourceGeneratedDocumentState.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).Text;
Workspace\Solution\StateChecksums.cs (2)
244if (searchingChecksumsLeft.Remove(Text)) 246result[Text] = await SerializableSourceText.FromTextDocumentStateAsync(state, cancellationToken).ConfigureAwait(false);
Roslyn.VisualStudio.Next.UnitTests (4)
Remote\SerializationValidator.cs (2)
189documentObject.Text, WellKnownSynchronizationKind.SerializableSourceText, 328await VerifyChecksumInServiceAsync(documentObject.Text, WellKnownSynchronizationKind.SerializableSourceText).ConfigureAwait(false);
Services\ServiceHubServicesTests.cs (2)
88(service, cancellationToken) => service.SynchronizeTextAsync(oldDocument.Id, oldState.Text, newText.GetTextChanges(oldText), cancellationToken), 96Assert.True(client.TestData.WorkspaceManager.SolutionAssetCache.TryGetAsset<SerializableSourceText>(newState.Text, out var serializableRemoteText));