1 write to ChecksumAlgorithm
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\LoadTextOptions.cs (1)
18
=>
ChecksumAlgorithm
= checksumAlgorithm;
10 references to ChecksumAlgorithm
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\PdbMatchingSourceTextProvider.cs (1)
149
if (state.LoadTextOptions.
ChecksumAlgorithm
!= checksumAlgorithm)
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\Solution\DocumentState.cs (2)
359
newTree = treeFactory.CreateSyntaxTree(Attributes.SyntaxTreeFilePath, options, text: null, existingTree.Encoding, LoadTextOptions.
ChecksumAlgorithm
, existingRoot);
516
var (text, treeAndVersion) = CreateTreeWithLazyText(newRoot, newTextVersion, newTreeVersion, encoding, LoadTextOptions.
ChecksumAlgorithm
, Attributes, ParseOptions, syntaxTreeFactory);
Workspace\Solution\DocumentState_LinkedFileReuse.cs (1)
160
loadTextOptions.
ChecksumAlgorithm
,
Workspace\Solution\FileTextLoader.cs (1)
86
: EncodedStringText.Create(stream, DefaultEncoding, checksumAlgorithm: options.
ChecksumAlgorithm
);
Workspace\Solution\LoadTextOptions.cs (2)
21
=> $"{{ {nameof(
ChecksumAlgorithm
)}: {
ChecksumAlgorithm
} }}";
Workspace\Solution\TextDocumentState.cs (1)
159
: CreateStrongText(TextAndVersion.Create(SourceText.From(string.Empty, encoding: null, loadTextOptions.
ChecksumAlgorithm
), VersionStamp.Default, filePath));
Workspace\Solution\TextLoader.cs (1)
51
/// Implementations of this method should use <see cref="LoadTextOptions.
ChecksumAlgorithm
"/> when creating <see cref="SourceText"/> from an original binary representation and
Workspace\WorkspaceFileTextLoader.cs (1)
31
=> _textFactory.CreateText(stream, DefaultEncoding, options.
ChecksumAlgorithm
, cancellationToken);