private void ValidateStartElementIdentityConstraints()
{
// added on June 15, set the context here, so the stack can have them
if (ProcessIdentityConstraints && _context.ElementDecl.Constraints != null)
{
AddIdentityConstraints();
}
//foreach constraint in stack (including the current one)
if (HasIdentityConstraints)
{
ElementIdentityConstraints();
}
}