7 instantiations of StringText
Microsoft.CodeAnalysis (4)
Text\SourceText.cs (3)
101return new StringText(text, encoding, checksumAlgorithm: checksumAlgorithm); 209return new StringText(text, encoding, checksum, checksumAlgorithm, embeddedTextBlob); 268return new StringText(text, encoding, checksum, checksumAlgorithm, embeddedTextBlob);
Text\StringTextWriter.cs (1)
38return new StringText(_builder.ToString(), _encoding, checksumAlgorithm: _checksumAlgorithm);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (1)
108var text = new StringText(string.Empty, encodingOpt: null);
Microsoft.CodeAnalysis.Test.Utilities (1)
Mocks\TestAdditionalText.cs (1)
23: this(path, new StringText(text, encoding, checksumAlgorithm: checksumAlgorithm))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.vb (1)
55Dim sourceText = New StringText(String.Empty, encodingOpt:=Nothing)
6 references to StringText
Microsoft.CodeAnalysis (3)
Text\ChangedText.cs (1)
24Debug.Assert(newText is CompositeText || newText is SubText || newText is StringText || newText is LargeText);
Text\StringText.cs (2)
40/// Underlying string which is the source of this <see cref="StringText"/>instance 45/// The length of the text represented by <see cref="StringText"/>.
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
PDB\CheckSumTest.cs (2)
34var tree1 = SyntaxFactory.ParseSyntaxTree(StringText.From(source1, Encoding.UTF8, SourceHashAlgorithm.Sha1), path: "sha1.cs"); 35var tree256 = SyntaxFactory.ParseSyntaxTree(StringText.From(source256, Encoding.UTF8, SourceHashAlgorithm.Sha256), path: "sha256.cs");
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Diagnostics\DiagnosticAnalyzerTests.AllInOne.cs (1)
108var text = new StringText(string.Empty, encodingOpt: null);