Do the [Optional], [In] and [Out] attributes ever affect the behavior of a C# program?
static void F([Optional]string s, [In] int i, [Out] int i2)
{
}
The attributes appear to do nothing at the C# language level. Is that true in all cases? Is there any relationship to out and ref parameters?
This question is out of curiosity only. I just found a tool bug where a tool erroneously treated [Out] like out.