Skip to content

delegate Func defined without namespace #26

@andrensairr

Description

@andrensairr

I had an issue attempting to use the .NET's default System.Func definition. Even when using System;, and having no references to dbqf namespaces, writing Func<MyType, bool> predicate; always refers to the dbqf type because this delegate is defined in the global namespace. Not a huge issue, but it does result in unnecessarily fully qualified variable types when the System.Func definition was desired, but it probably wasn't the intention in more recent .NET iterations which include their own similar definition.

public delegate TResult Func<in T, out TResult>(T arg);

I propose this line be changed to include the delegate within the dbqf namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions