4 instantiations of SerializableSourceText
Microsoft.CodeAnalysis.Workspaces (4)
Serialization\SerializableSourceText.cs (4)
130
return new(new
SerializableSourceText
(storageHandle));
140
static (text, _) => new
SerializableSourceText
(text, text.GetContentHash()),
190
return new
SerializableSourceText
(storageHandle);
198
return new
SerializableSourceText
(
8 references to SerializableSourceText
Microsoft.CodeAnalysis.Workspaces (8)
Serialization\SerializableSourceText.cs (4)
119
public static ValueTask<
SerializableSourceText
> FromTextDocumentStateAsync(
171
public static
SerializableSourceText
Deserialize(
218
public readonly
SerializableSourceText
SerializableSourceText;
222
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);