qtil
advanced-security/qtil-csharp 0.0.3
Search

Member predicate UnboundGenericInterface::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`1 | | C`1.Nested | C`1.Nested | | C<int>.Nested | C`1.Nested | | C`1.Method`1 | C`1.Method`1 | | C<int>.Method`1 | C`1.Method`1 | | C<int>.Method<string> | C`1.Method`1 |

UnboundGenericInterface getUnboundDeclaration()