1)
using System;
class CustomAttribute : Attribute
{
public CustomAttribute( string s )
{
}
}
[Custom(null)]
class C
{
}
================================================
2)
using System;
class CustomAttribute : Attribute
{
public CustomAttribute( object s )
{
}
}
[Custom(null)]
class C
{
}
=============================================
3)
using System;
class CustomAttribute : Attribute
{
public CustomAttribute( object[] s )
{
}
}
[Custom(null)]
class C
{
}
Exactly one of them doesn't comple. Which one is it and why it doesn't compile?
Hi, my name is Oleg Stepanov and I'm developer at the ReSharper team. For 1.0 I worked on refactorings and different codeinsight stuff like code completion, live templates, etc. For the current version I primarily work on debugger, so part of my posts here will be related to .NET internals stuff like CLR and metadata.
I also take part in the MPS project (read more in JetBrains CEO Sergey Dmitirev interview to Code Generation Network). Particularly I lead development of DSL for using collections (aka containers). Maybe I will blog something on this too.
I seem to be the second blogger on the blogs.jetbrains.com site (the first is Dmitry Jemerov, the Omea project lead), but I hope as well as Dmitry that you'll see more JetBrains guys here soon.