共用方式為


SourceText Constructor

Definition

protected SourceText (System.Collections.Immutable.ImmutableArray<byte> checksum = default, Microsoft.CodeAnalysis.Text.SourceHashAlgorithm checksumAlgorithm = Microsoft.CodeAnalysis.Text.SourceHashAlgorithm.Sha1, Microsoft.CodeAnalysis.Text.SourceTextContainer container = default);
protected SourceText (System.Collections.Immutable.ImmutableArray<byte> checksum = default, Microsoft.CodeAnalysis.Text.SourceHashAlgorithm checksumAlgorithm = Microsoft.CodeAnalysis.Text.SourceHashAlgorithm.Sha1, Microsoft.CodeAnalysis.Text.SourceTextContainer? container = default);
new Microsoft.CodeAnalysis.Text.SourceText : System.Collections.Immutable.ImmutableArray<byte> * Microsoft.CodeAnalysis.Text.SourceHashAlgorithm * Microsoft.CodeAnalysis.Text.SourceTextContainer -> Microsoft.CodeAnalysis.Text.SourceText
Protected Sub New (Optional checksum As ImmutableArray(Of Byte) = Nothing, Optional checksumAlgorithm As SourceHashAlgorithm = Microsoft.CodeAnalysis.Text.SourceHashAlgorithm.Sha1, Optional container As SourceTextContainer = Nothing)

Parameters

checksum
ImmutableArray<Byte>
checksumAlgorithm
SourceHashAlgorithm

Applies to