SourceText
SourceText(ImmutableArray<Byte>, SourceHashAlgorithm, SourceTextContainer)
CanBeEmbedded
ChecksumAlgorithm
Container
Encoding
Length
Lines
this[Int32]
ContentEquals(SourceText)
ContentEqualsImpl(SourceText)
CopyTo(Int32, Char[], Int32, Int32)
From(String, Encoding, SourceHashAlgorithm)
From(Stream, Encoding, SourceHashAlgorithm, Boolean)
From(TextReader, Int32, Encoding, SourceHashAlgorithm)
From(Byte[], Int32, Encoding, SourceHashAlgorithm, Boolean)
From(Stream, Encoding, SourceHashAlgorithm, Boolean, Boolean)
From(Byte[], Int32, Encoding, SourceHashAlgorithm, Boolean, Boolean)
GetChangeRanges(SourceText)
GetChecksum()
GetContentHash()
GetLinesCore()
GetSubText(Int32)
GetSubText(TextSpan)
GetTextChanges(SourceText)
Replace(TextSpan, String)
Replace(Int32, Int32, String)
ToString()
ToString(TextSpan)
WithChanges(TextChange[])
WithChanges(IEnumerable<TextChange>)
Write(TextWriter, CancellationToken)
Write(TextWriter, TextSpan, CancellationToken)
FindCorrespondingEditorTextSnapshot(SourceText)
net10.0
namespace Microsoft.CodeAnalysis.Text
{
[DefaultMember("Item")]
public abstract class SourceText
{
protected SourceText(ImmutableArray<byte> checksum = default, SourceHashAlgorithm checksumAlgorithm = SourceHashAlgorithm.Sha1, SourceTextContainer? container = null);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 8.09.010.0 |
Information specific to net10.0 | |
| Assembly | Microsoft.CodeAnalysis , Version=5.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CodeAnalysis.Common (5.0.0) net9.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API