File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Rubberduck.CodeAnalysis/Inspections/Concrete Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 88using Rubberduck . Parsing . VBA . DeclarationCaching ;
99using Rubberduck . Resources . Inspections ;
1010using Rubberduck . VBEditor ;
11+ using System ;
1112using System . Collections . Generic ;
1213using System . Diagnostics . CodeAnalysis ;
1314using System . Globalization ;
@@ -69,6 +70,7 @@ protected override IEnumerable<Declaration> ObjectionableDeclarations(Declaratio
6970 && ! declaration . IsSelfAssigned
7071 && finder . MatchName ( declaration . AsTypeName )
7172 . All ( d => d . DeclarationType != DeclarationType . UserDefinedType )
73+ && ! declaration . IdentifierName . StartsWith ( "out" , StringComparison . InvariantCultureIgnoreCase )
7274 && ! declaration . References
7375 . Any ( reference => reference . IsAssignment )
7476 && ! declaration . References
You can’t perform that action at this time.
0 commit comments