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