Skip to content

Commit d4d97a8

Browse files
committed
Return empty enumerable instead of null. Closes #4824
1 parent 30e857a commit d4d97a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.VBEEditor/SafeComWrappers/Abstract/HostApplicationBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public virtual bool TryOpenDocumentDesigner(QualifiedModuleName moduleName)
183183
return false;
184184
}
185185

186-
public virtual IEnumerable<HostAutoMacro> AutoMacroIdentifiers => null;
186+
public virtual IEnumerable<HostAutoMacro> AutoMacroIdentifiers => new HostAutoMacro [] { };
187187

188188
private static string GetName(IVBComponent component)
189189
{

0 commit comments

Comments
 (0)