4 instantiations of SerializableSourceText
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\SerializableSourceText.cs (4)
130return new(new SerializableSourceText(storageHandle)); 140static (text, _) => new SerializableSourceText(text, text.GetContentHash()), 190return new SerializableSourceText(storageHandle); 198return new SerializableSourceText(
8 references to SerializableSourceText
Microsoft.CodeAnalysis.Workspaces (8)
Serialization\SerializableSourceText.cs (4)
119public static ValueTask<SerializableSourceText> FromTextDocumentStateAsync( 171public static SerializableSourceText Deserialize( 218public readonly SerializableSourceText SerializableSourceText; 222SerializableSourceText serializableSourceText,
Serialization\SerializationExtensions.cs (1)
29SerializableSourceText => WellKnownSynchronizationKind.SerializableSourceText,
Serialization\SerializerService_Asset.cs (1)
18private static void SerializeSourceText(SerializableSourceText text, ObjectWriter writer, CancellationToken cancellationToken)
Workspace\Solution\TextDocumentState_Checksum.cs (2)
40var serializableText = await SerializableSourceText.FromTextDocumentStateAsync(this, cancellationToken).ConfigureAwait(false);