2 types derived from Rope
Microsoft.CodeAnalysis (2)
Collections\Rope.cs (2)
87private sealed class StringRope : Rope 116private sealed class ConcatRope : Rope
21 references to Rope
Microsoft.CodeAnalysis (19)
Collections\Rope.cs (12)
18public static readonly Rope Empty = ForString(""); 29public static Rope ForString(string s) 40public static Rope Concat(Rope r1, Rope r2) 60if (!(obj is Rope other) || Length != other.Length) 118private readonly Rope _left, _right; 121public ConcatRope(Rope left, Rope right) 131var stack = new Stack<Rope>(); 160var stack = new Stack<Rope>(); 186var 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");