perfview icon indicating copy to clipboard operation
perfview copied to clipboard

Types in Utilities namespace

Open alexandre-mckinnon opened this issue 6 years ago • 1 comments

In the Microsoft.Diagnostics.Tracing.TraceEvent assembly, some types are in the Utilities namespace.

Those types should probably be in the Microsoft.Diagnostics.Tracing.Utilities namespace:

Utilities.Cache<K,T> Utilities.Command Utilities.CommandOptions Utilities.IndexMap Utilities.OperatingSystemVersion

alexandre-mckinnon avatar Nov 14 '19 14:11 alexandre-mckinnon

This causes a big problem for us since we have internal Utilities classes already.

While our classes are in a proper company-named namespace hierarchy, when we end up using OurCompany.Internal in a file (which is most places), when we add a reference to the Microsoft.Diagnostics.Tracing.TraceEvent assembly to our project, none of our Utilities.Whatever() calls can be resolved because this top-level Utilities namespace takes precedence.

twwilliams avatar Jun 10 '21 19:06 twwilliams

Any chance we could get this change made? We are running into the same issue as reported.

JpWebster avatar Feb 07 '23 14:02 JpWebster

Fixed via #1805.

brianrob avatar Feb 09 '23 00:02 brianrob