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
"/>
199
var textChecksum = documentChecksumState.
Text
;
Microsoft.CodeAnalysis.Remote.ServiceHub (6)
Host\RemoteDocumentDifferenceService.cs (2)
52
var oldTextChecksum = (await oldDocument.State.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).
Text
;
53
var newTextChecksum = (await newDocument.State.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).
Text
;
Host\RemoteWorkspace.SolutionCreator.cs (3)
455
if (oldDocumentChecksums.
Text
!= newDocumentChecksums.
Text
)
457
var 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)
89
var 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)
31
return (documentKey, checksums.
Text
);
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
119
var textChecksum = Checksum.Create(documentChecksumState.
Text
, s_serializationFormatChecksum);
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
96
return documentStateChecksum.
Text
;
Workspace\Solution\SolutionState_Checksum.cs (1)
154
frozenSourceGeneratedDocumentTextChecksum = (await FrozenSourceGeneratedDocumentState.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).
Text
;
Workspace\Solution\StateChecksums.cs (2)
244
if (searchingChecksumsLeft.Remove(
Text
))
246
result[
Text
] = await SerializableSourceText.FromTextDocumentStateAsync(state, cancellationToken).ConfigureAwait(false);
Roslyn.VisualStudio.Next.UnitTests (4)
Remote\SerializationValidator.cs (2)
189
documentObject.
Text
, WellKnownSynchronizationKind.SerializableSourceText,
328
await VerifyChecksumInServiceAsync(documentObject.
Text
, WellKnownSynchronizationKind.SerializableSourceText).ConfigureAwait(false);
Services\ServiceHubServicesTests.cs (2)
88
(service, cancellationToken) => service.SynchronizeTextAsync(oldDocument.Id, oldState.
Text
, newText.GetTextChanges(oldText), cancellationToken),
96
Assert.True(client.TestData.WorkspaceManager.SolutionAssetCache.TryGetAsset<SerializableSourceText>(newState.
Text
, out var serializableRemoteText));