1 write to ChecksumAlgorithm
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\LoadTextOptions.cs (1)
18=> ChecksumAlgorithm = checksumAlgorithm;
11 references to ChecksumAlgorithm
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\Solution\DocumentState.cs (2)
361newTree = treeFactory.CreateSyntaxTree(Attributes.SyntaxTreeFilePath, options, text: null, existingTree.Encoding, LoadTextOptions.ChecksumAlgorithm, existingRoot); 519var (text, treeAndVersion) = CreateTreeWithLazyText(newRoot, newTextVersion, newTreeVersion, encoding, LoadTextOptions.ChecksumAlgorithm, Attributes, ParseOptions, syntaxTreeFactory);
Workspace\Solution\DocumentState_LinkedFileReuse.cs (1)
160loadTextOptions.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)
164: 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);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Workspaces\TestHostDocument.cs (1)
189=> Task.FromResult(TextAndVersion.Create(SourceText.From(_text, encoding: null, options.ChecksumAlgorithm), VersionStamp.Create(), _hostDocument.FilePath));
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
Client\Projects\WorkspaceFileTextLoaderNoException.cs (1)
32return Task.FromResult(TextAndVersion.Create(SourceText.From("", encoding: null, options.ChecksumAlgorithm), VersionStamp.Create()));