1
Vote

Custom-attribute on a generic property

description

Hello,
 
parsing a file containing a custom-attribute on a generic property i get the follwing error:
"Attributes not allowed for the type ParameterError: Expected Ident found: String"
 
Code:
 
/// <summary>
///
/// </summary>
[NotPersistable]
public Dictionary<string, string> Dict
{
  get { return mDict; }
  set { mDict = value; }
}
 
Thanks
 
Christian

comments