public static IdentifierInfo CreateClassDeclaration(bool isClassDeclaration, string[] declaredTypePropertyNames)
{
var info = new IdentifierInfo
{
Kind = IdentifierKind.Subject,
IsClassDeclaration = isClassDeclaration,
IsTypePropertyDeclaration = declaredTypePropertyNames.Length > 0,
DeclaredTypeNames = new string[0],
DeclaredTypePropertyNames = declaredTypePropertyNames
};
return info;
}