- 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) 
 
net6.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 | 
|---|---|
| Upgrade Planner | 0.0 % Reference this API | 
| .NET | 5.06.07.08.09.010.0 | 
| .NET Core | 2.02.12.23.03.1 | 
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 | 
| .NET Standard | 2.02.1 | 
| Information specific to net6.0 | |
| Assembly | Microsoft.CodeAnalysis , Version=4.13.0.0, PublicKeyToken=31bf3856ad364e35 | 
| Referencing | Your project needs a package reference to  | 
| Package | Microsoft.CodeAnalysis.Common (4.13.0) netstandard2.0 | 
| Platform Restrictions | This API is supported on all platforms. | 
- Built-in API
- Package-provided API