2 types derived from Rope
Microsoft.CodeAnalysis (2)
Collections\Rope.cs (2)
86
private sealed class StringRope :
Rope
115
private sealed class ConcatRope :
Rope
21 references to Rope
Microsoft.CodeAnalysis (19)
Collections\Rope.cs (12)
18
public static readonly
Rope
Empty = ForString("");
28
public static
Rope
ForString(string s)
39
public static
Rope
Concat(
Rope
r1,
Rope
r2)
59
if (!(obj is
Rope
other) || Length != other.Length)
117
private readonly
Rope
_left, _right;
120
public ConcatRope(
Rope
left,
Rope
right)
130
var stack = new Stack<
Rope
>();
159
var stack = new Stack<
Rope
>();
185
var stack = new Stack<
Rope
>();
ConstantValue.cs (2)
46
internal virtual
Rope
? RopeValue { get { throw new InvalidOperationException(); } }
111
internal static ConstantValue CreateFromRope(
Rope
value)
ConstantValueSpecialized.cs (5)
96
internal override
Rope
? RopeValue
136
private readonly
Rope
_value;
149
_value =
Rope
.ForString(value);
152
public ConstantValueString(
Rope
value)
192
internal override
Rope
RopeValue
Microsoft.CodeAnalysis.UnitTests (2)
Collections\RopeTests.cs (2)
121
var
r = Rope.ForString("x");
140
var
waferThinMint = Rope.ForString("y");