Improve XML documentation coverage across src modules and sync generated analysis artifacts.
This commit is contained in:
@@ -182,11 +182,17 @@ internal sealed class Leaf<T> : INode
|
||||
=> Parts.MatchPartsAgainstFragment(parts, Suffix);
|
||||
|
||||
// These should not be called on a leaf.
|
||||
/// <inheritdoc />
|
||||
public void SetPrefix(ReadOnlySpan<byte> pre) => throw new InvalidOperationException("setPrefix called on leaf");
|
||||
/// <inheritdoc />
|
||||
public void AddChild(byte c, INode n) => throw new InvalidOperationException("addChild called on leaf");
|
||||
/// <inheritdoc />
|
||||
public ChildRef? FindChild(byte c) => throw new InvalidOperationException("findChild called on leaf");
|
||||
/// <inheritdoc />
|
||||
public INode Grow() => throw new InvalidOperationException("grow called on leaf");
|
||||
/// <inheritdoc />
|
||||
public void DeleteChild(byte c) => throw new InvalidOperationException("deleteChild called on leaf");
|
||||
/// <inheritdoc />
|
||||
public INode? Shrink() => throw new InvalidOperationException("shrink called on leaf");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user