COBQA0001: Name can be simplified

Information message only. An IDE quick action is available if you want to replace the highlighted fully-qualified namespace with its simplified equivalent.

Description

When referencing .NET types in your code, you can either use the fully qualified namespace or only use the simplified name and omit the namespace, if the simplified name can be resolved without ambiguity. For example, instead of typing System.String, you can simply type String provided that String is not used by any other class.

Use the Simplify name Type light bulb quick action in the editor to automatically replace the fully qualified name with the simplified name:

GUID-713EB049-CC82-4D91-8AEA-41D5ED12830D-low.png

You can choose to simplify the current occurrence of a fully qualified name or simplify all occurrences of that name in the current file (click Document) or in the current file and any copybooks displayed in the expanded copybook view in it (click Program).