void ThrowIfNotSupported(Type type) { if (TypeHelper.AreTypesCompatible(type, SendReceiveExtensionType)) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ExtensionTypeNotSupported(SendReceiveExtensionType.FullName))); } }
void ThrowIfNotSupported(Type type) { if (TypeHelper.AreTypesCompatible(type, SendReceiveExtensionType)) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.ExtensionTypeNotSupported(SendReceiveExtensionType.FullName))); } }