Silence some doc errors in VS2019.
This commit is contained in:
@@ -135,6 +135,7 @@ namespace OpenRA.Activities
|
|||||||
/// Call this method from any place that's called during a tick, such as the Tick() method itself or
|
/// Call this method from any place that's called during a tick, such as the Tick() method itself or
|
||||||
/// the Before(First|Last)Run() methods. The origin activity will be marked in the output.
|
/// the Before(First|Last)Run() methods. The origin activity will be marked in the output.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="self">The actor performing this activity.</param>
|
||||||
/// <param name="origin">Activity from which to start traversing, and which to mark. If null, mark the calling activity, and start traversal from the top.</param>
|
/// <param name="origin">Activity from which to start traversing, and which to mark. If null, mark the calling activity, and start traversal from the top.</param>
|
||||||
/// <param name="level">Initial level of indentation.</param>
|
/// <param name="level">Initial level of indentation.</param>
|
||||||
protected void PrintActivityTree(Actor self, Activity origin = null, int level = 0)
|
protected void PrintActivityTree(Actor self, Activity origin = null, int level = 0)
|
||||||
|
|||||||
@@ -114,9 +114,12 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
return token;
|
return token;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Revokes a previously granted condition.</summary>
|
/// <summary>
|
||||||
/// <returns>The invalid token ID.</returns>
|
/// 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>
|
/// <param name="token">The token ID returned by GrantCondition.</param>
|
||||||
|
/// <returns>The invalid token ID.</returns>
|
||||||
public int RevokeCondition(Actor self, int token)
|
public int RevokeCondition(Actor self, int token)
|
||||||
{
|
{
|
||||||
string condition;
|
string condition;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
return domainIndexes[movementClass].IsPassable(p1, p2);
|
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)
|
public void UpdateCells(World world, IEnumerable<CPos> cells)
|
||||||
{
|
{
|
||||||
var dirty = cells.ToHashSet();
|
var dirty = cells.ToHashSet();
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ namespace OpenRA.Mods.Common.Traits
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Release the last resource claim made by this actor.
|
/// Release the last resource claim made by this actor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="claimer"></param>
|
|
||||||
public void RemoveClaim(Actor claimer)
|
public void RemoveClaim(Actor claimer)
|
||||||
{
|
{
|
||||||
CPos lastClaim;
|
CPos lastClaim;
|
||||||
|
|||||||
@@ -42,5 +42,12 @@
|
|||||||
<Rule Id="SA1214" Action="None" /><!-- ReadonlyElementsMustAppearBeforeNonReadonlyElements -->
|
<Rule Id="SA1214" Action="None" /><!-- ReadonlyElementsMustAppearBeforeNonReadonlyElements -->
|
||||||
<Rule Id="SA1413" Action="None" /><!-- UseTrailingCommasInMultiLineInitializers -->
|
<Rule Id="SA1413" Action="None" /><!-- UseTrailingCommasInMultiLineInitializers -->
|
||||||
<Rule Id="SA1516" Action="None" /><!-- ElementsMustBeSeparatedByBlankLine -->
|
<Rule Id="SA1516" Action="None" /><!-- ElementsMustBeSeparatedByBlankLine -->
|
||||||
|
<Rule Id="SA1604" Action="None" /><!-- ElementDocumentationShouldHaveSummary -->
|
||||||
|
<Rule Id="SA1611" Action="None" /><!-- ElementParametersShouldBeDocumented -->
|
||||||
|
<Rule Id="SA1615" Action="None" /><!-- ElementReturnValueShouldBeDocumented -->
|
||||||
|
<Rule Id="SA1618" Action="None" /><!-- GenericTypeParametersShouldBeDocumented -->
|
||||||
|
<Rule Id="SA1623" Action="None" /><!-- PropertySummaryDocumentationShouldMatchAccessors -->
|
||||||
|
<Rule Id="SA1629" Action="None" /><!-- DocumentationTextShouldEndWithAPeriod -->
|
||||||
|
<Rule Id="SA1642" Action="None" /><!-- ConstructorSummaryDocumentationShouldBeginWithStandardText -->
|
||||||
</Rules>
|
</Rules>
|
||||||
</RuleSet>
|
</RuleSet>
|
||||||
Reference in New Issue
Block a user