Skip to content

Commit ff60090

Browse files
committed
Improve example for implicit default member access
1 parent b6d3b12 commit ff60090

File tree

1 file changed

+3
-21
lines changed

1 file changed

+3
-21
lines changed

Rubberduck.CodeAnalysis/Inspections/Concrete/ImplicitDefaultMemberAccessInspection.cs

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,7 @@ namespace Rubberduck.Inspections.Concrete
1616
/// </why>
1717
/// <example hasResult="true">
1818
/// <![CDATA[
19-
/// Class1:
20-
///
21-
/// Public Function Foo() As Long
22-
/// Attibute Foo.VB_UserMemId = 0
23-
/// Foo = 42
24-
/// End Function
25-
///
26-
/// Module:
27-
///
28-
/// Public Sub DoSomething(ByVal arg As Class1)
19+
/// Public Sub DoSomething(ByVal arg As ADODB.Field)
2920
/// Dim bar As Variant
3021
/// bar = arg
3122
/// End Sub
@@ -49,18 +40,9 @@ namespace Rubberduck.Inspections.Concrete
4940
/// </example>
5041
/// <example hasResult="false">
5142
/// <![CDATA[
52-
/// Class1:
53-
///
54-
/// Public Function Foo() As Long
55-
/// Attibute Foo.VB_UserMemId = 0
56-
/// Foo = 42
57-
/// End Function
58-
///
59-
/// Module:
60-
///
61-
/// Public Sub DoSomething(ByVal arg As Class1)
43+
/// Public Sub DoSomething(ByVal arg As ADODB.Field)
6244
/// Dim bar As Variant
63-
/// bar = arg.Foo()
45+
/// bar = arg.Value
6446
/// End Sub
6547
/// ]]>
6648
/// </example>

0 commit comments

Comments
 (0)