Skip to content

Commit c2885b2

Browse files
committed
Improved XMLDoc example for Public std module procs
Identified example module as 'Macros' and added comment to reinforce why Public procedures of Standard Modules are ignored by the inspection.
1 parent 6fb89b7 commit c2885b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/ProcedureNotUsedInspection.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ namespace Rubberduck.CodeAnalysis.Inspections.Concrete
4545
/// </module>
4646
/// </example>
4747
/// <example hasResult="false">
48-
/// <module name="Module1" type="Standard Module">
48+
/// <module name="Macros" type="Standard Module">
4949
/// <![CDATA[
5050
/// Option Explicit
5151
///
5252
/// Public Sub DoSomething()
53+
/// 'a public procedure in a standard module may be a macro
54+
/// attached to a worksheet Shape or invoked by means other than user code.
5355
/// End Sub
5456
/// ]]>
5557
/// </module>

0 commit comments

Comments
 (0)