CodeQL library for C#
codeql/csharp-all 0.6.2 ( changelog , source )
Search

Member predicate Callable :: getUnboundDeclaration

Gets the unbound version of this declaration, that is, the declaration where all type arguments have been removed. For example, in

class C<T>
{
    class Nested
    {
    }

    void Method<S>() { }
}

we have the following

| Declaration | Unbound declaration | |————————-|———————| | C<int> | C<> | | C<>.Nested | C<>.Nested | | C<int>.Nested | C<>.Nested | | C<>.Method<> | C<>.Method<> | | C<int>.Method<> | C<>.Method<> | | C<int>.Method<string> | C<>.Method<> |

Callable getUnboundDeclaration ( )