Skip to content

Commit 62cd4ac

Browse files
committed
Update XMLDoc content
XMLDoc updated to include the array ByVal parameter exception. Also, takes the opportunity to fix XMLDoc typo pointed out in Chat.
1 parent bb030cf commit 62cd4ac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/MisleadingByRefParameterInspection.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ namespace Rubberduck.CodeAnalysis.Inspections.Concrete
1313
/// <why>
1414
/// Regardless of the presence or absence of an explicit ByRef or ByVal modifier, the value-parameter
1515
/// of a property mutator is always treated as though it had an explicit ByVal modifier.
16-
/// Exception: UserDefinedType parameters are always passed by reference.
16+
/// Exception: UserDefinedType and Array parameters are always passed by reference.
1717
/// </why>
1818
/// <example hasResult="true">
1919
/// <module name="MyModule" type="Standard Module">
2020
/// <![CDATA[
2121
/// Private fizzField As Long
2222
/// Public Property Get Fizz() As Long
23-
/// Fizz = fizzFiled
23+
/// Fizz = fizzField
2424
/// End Property
2525
/// Public Property Let Fizz(ByRef arg As Long)
26-
/// fizzFiled = arg
26+
/// fizzField = arg
2727
/// End Property
2828
/// ]]>
2929
/// </module>
@@ -33,10 +33,10 @@ namespace Rubberduck.CodeAnalysis.Inspections.Concrete
3333
/// <![CDATA[
3434
/// Private fizzField As Long
3535
/// Public Property Get Fizz() As Long
36-
/// Fizz = fizzFiled
36+
/// Fizz = fizzField
3737
/// End Property
3838
/// Public Property Let Fizz(arg As Long)
39-
/// fizzFiled = arg
39+
/// fizzField = arg
4040
/// End Property
4141
/// ]]>
4242
/// </module>

0 commit comments

Comments
 (0)