Silence some doc errors in VS2019.

This commit is contained in:
RoosterDragon
2019-06-20 18:18:48 +01:00
committed by reaperrr
parent b647d46196
commit 58dced7e05
5 changed files with 14 additions and 4 deletions

View File

@@ -114,9 +114,12 @@ namespace OpenRA.Mods.Common.Traits
return token;
}
/// <summary>Revokes a previously granted condition.</summary>
/// <returns>The invalid token ID.</returns>
/// <summary>
/// Revokes a previously granted condition.
/// </summary>
/// <param name="self">The actor to which this trait is attached.</param>
/// <param name="token">The token ID returned by GrantCondition.</param>
/// <returns>The invalid token ID.</returns>
public int RevokeCondition(Actor self, int token)
{
string condition;

View File

@@ -51,7 +51,7 @@ namespace OpenRA.Mods.Common.Traits
return domainIndexes[movementClass].IsPassable(p1, p2);
}
/// Regenerate the domain index for a group of cells
/// <summary>Regenerate the domain index for a group of cells.</summary>
public void UpdateCells(World world, IEnumerable<CPos> cells)
{
var dirty = cells.ToHashSet();

View File

@@ -59,7 +59,6 @@ namespace OpenRA.Mods.Common.Traits
/// <summary>
/// Release the last resource claim made by this actor.
/// </summary>
/// <param name="claimer"></param>
public void RemoveClaim(Actor claimer)
{
CPos lastClaim;