ReSharper 2.0 Beta Bug for VS2005 - static constructor

A class is marked as static:

public static class MyStaticClass
{
}

ReSharper generates a wrong constructor:

protected MyStaticClass()
{
}

so we get an error "static class cannot have non-static constructor"...

Should be:

static MyStaticClass()
{
}

Rgds
Adam

Please sign in to leave a comment.