4 instantiations of SerializableSourceText
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\SerializableSourceText.cs (4)
131
return new(new
SerializableSourceText
(storageHandle));
141
static (text, _) => new
SerializableSourceText
(text, text.GetContentHash()),
191
return new
SerializableSourceText
(storageHandle);
199
return new
SerializableSourceText
(
8 references to SerializableSourceText
Microsoft.CodeAnalysis.Workspaces (8)
Serialization\SerializableSourceText.cs (4)
120
public static ValueTask<
SerializableSourceText
> FromTextDocumentStateAsync(
172
public static
SerializableSourceText
Deserialize(
219
public readonly
SerializableSourceText
SerializableSourceText;
223
SerializableSourceText
serializableSourceText,
Serialization\SerializationExtensions.cs (1)
29
SerializableSourceText
=> WellKnownSynchronizationKind.SerializableSourceText,
Serialization\SerializerService_Asset.cs (1)
18
private static void SerializeSourceText(
SerializableSourceText
text, ObjectWriter writer, CancellationToken cancellationToken)
Workspace\Solution\TextDocumentState_Checksum.cs (2)
40
var
serializableText = await
SerializableSourceText
.FromTextDocumentStateAsync(this, cancellationToken).ConfigureAwait(false);