ThrowIfThisIsAttachment method
void
ThrowIfThisIsAttachment()
Implementation
void ThrowIfThisIsAttachment() {
if (this.IsAttachment) {
throw new InvalidOperationException(
"Strings.OperationDoesNotSupportAttachments");
}
}