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