docs: fill missing XML docs and strip tracking IDs from src comments
Clears CommentChecker findings in src/ (3,280 -> 209, the remainder being false positives like PLC-5/IEEE-754/M0.0) by adding missing summaries/params/returns, normalising inheritdoc usage, and removing Gitea/review tracking IDs while keeping the rationale they annotated. Comment-only: comment-stripped sources are identical to the parent commit.
This commit is contained in:
@@ -56,7 +56,8 @@ public sealed class CapturedTreeBrowseSession(CapturedTree tree) : IBrowseSessio
|
||||
return Task.FromResult<IReadOnlyList<AttributeInfo>>(attrs);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>Drops this session's reference to the captured tree; the tree itself may be shared.</summary>
|
||||
/// <returns>A completed <see cref="ValueTask"/>.</returns>
|
||||
public ValueTask DisposeAsync()
|
||||
{
|
||||
_tree = null; // drop this session's reference only — tree may be shared (coalescing)
|
||||
@@ -68,7 +69,7 @@ public sealed class CapturedTreeBrowseSession(CapturedTree tree) : IBrowseSessio
|
||||
/// <summary>
|
||||
/// Surfaces a leaf's driver-native type name as the <c>dataType</c> address field, so a
|
||||
/// browse-commit can stamp the driver-typed <c>TagConfig</c> with the type the controller
|
||||
/// actually reported (Gitea #536).
|
||||
/// actually reported.
|
||||
/// </summary>
|
||||
/// <param name="a">The captured attribute.</param>
|
||||
/// <returns>The address fields, or null when the driver reported no native type.</returns>
|
||||
@@ -80,7 +81,7 @@ public sealed class CapturedTreeBrowseSession(CapturedTree tree) : IBrowseSessio
|
||||
/// reverse map would bind a 16-bit INT as a 32-bit DINT and read four bytes for two.
|
||||
/// <para>
|
||||
/// Null when the driver stamped nothing — the mapper then leaves the model's own default in
|
||||
/// place, which is exactly the pre-#536 behaviour rather than a guess.
|
||||
/// place, which is exactly the previous behaviour rather than a guess.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
private static IReadOnlyDictionary<string, string>? NativeTypeFields(DriverAttributeInfo a)
|
||||
|
||||
Reference in New Issue
Block a user