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